GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Hotlinking of MPEGS?! What can be done! HELP! (https://gfy.com/showthread.php?t=53096)

^R3K^ 10-01-2002 11:43 AM

jorgie99,
Next week we start Beta testing a new product that will eliminate these problems for you. Of course we are looking for some beta testers that are already in the movie side of the industry and if you are interested please contact me. Of course any BW used in the course of this test is covered by us.
Any further info can be conveyed through private conversation.
I look forward to hearing from you.

you can E-mail me at
[email protected]


Quote:

Originally posted by jorgie99
Hey everyone...

How do you deal/prevent with hotlinkers that either make links to your mpegs so surfers can right-click and "save as" or have the text ready to cut and paste for the srufers?

Is there a technological solution other than renaming the files and altering the gallery HTML? (Don't want to get blacklisted for changing HTML)

Damn asian sites are killing me... :ak47:

HELP!

:BangBang: :BangBang: :BangBang:


fiveyes 10-01-2002 02:20 PM

The solution is really quite easy on Linux/Apache.

First, check out http://httpd.apache.org/docs/mod/mod....html#setenvif and the following entry for SetEnvIfNoCase to follow this solution.

You'll need the SetEnvIf module installed, which is usually the case. If you're running Apache 1.3.13 and later, you can add this to a ".htaccess" file at the top of the directory tree you wish to protect. Otherwise, you have to add it to the apache configuration file within a virtual host and/or directory directive.

The code is simply (replace "YourDomain.com" and "###.###.###.###" appropriately):
Code:

SetEnvIfNoCase Referer "^http://(YourDomain.com|www.YourDomain.com|###.###.###.###)" local_req=1
<FilesMatch "\.(gif|jpe?g|mpe?g\avi\wmv)$">
Order Allow,Deny
Allow from env=local_req
</FilesMatch>


BR Guy 10-01-2002 02:35 PM

Quote:

Originally posted by freeones I haven't looked any further yet, but I think that the only solution will be to use a cgi script. And then one in such a way that nobody can detect the place of your movie files. Or you can rename your mpg files to wmv that will still work for the time being, but then visitors need to rename the files which is not very handy.

Long story and all because those hotlinking monkeys !
Let me know if you already have found a good solution.

i've a php script to protect hotlink, it worked fine in my tests.
It's free but it needs optimizations.
link: http://www.brguy.com/ahls/

Backov 10-01-2002 04:06 PM

Quote:

Originally posted by fiveyes
The solution is really quite easy on Linux/Apache.

First, check out http://httpd.apache.org/docs/mod/mod....html#setenvif and the following entry for SetEnvIfNoCase to follow this solution.

You'll need the SetEnvIf module installed, which is usually the case. If you're running Apache 1.3.13 and later, you can add this to a ".htaccess" file at the top of the directory tree you wish to protect. Otherwise, you have to add it to the apache configuration file within a virtual host and/or directory directive.

The code is simply (replace "YourDomain.com" and "###.###.###.###" appropriately):
Code:

SetEnvIfNoCase Referer "^http://(YourDomain.com|www.YourDomain.com|###.###.###.###)" local_req=1
<FilesMatch "\.(gif|jpe?g|mpe?g\avi\wmv)$">
Order Allow,Deny
Allow from env=local_req
</FilesMatch>


That's essentially exactly the same as using mod_rewrite.. Since the player doesn't pass a referrer, this won't help you.

Cheers,
Backov

Jizar II 10-01-2002 04:27 PM

very interesting thread, i´m also sitting here waiting for the perfect solution! :Graucho

fiveyes 10-01-2002 04:40 PM

Quote:

Originally posted by fiveyes
Code:

SetEnvIfNoCase Referer "^http://(YourDomain.com|www.YourDomain.com|###.###.###.###)" local_req=1
<FilesMatch "\.(gif|jpe?g|mpe?g\avi\wmv)$">
Order Allow,Deny
Allow from env=local_req
</FilesMatch>


Nope, my bad! Windows Media Player doesn't send the referer for WMV files, ever. It does follow the htaccess authorization requirements, so "*.wmv" files need to be within a members prorected directory to prevent hotlinking.

Make "\.(gif|jpe?g|mpe?g\avi\wmv)$" to read "\.(gif|jpe?g|mpe?g|avi)$". This prevents hotlinking of MPEG's and images at least.

SR 10-01-2002 05:14 PM

hotlinkers are one big pain in the ass
If I ever get my hands on one of them they won't touch a keyboard again.
One day I had about 50mbit of hotlinking a whole day long.
One thing that took this down alot is something simple but it helped me alot....
For every series of galleries I had it like...
www.domain.com/movies001/movies/
www.domain.com/movies002/movies/
www.domain.com/movies003/movies/
www.domain.com/movies004/movies/

What the fuckers did was just put up gallery 001 up to lets say gallery 100
so they had like 500 movies hotlinked at once......
so from now on I name the /movies/ part different per gallery serrie so it's not that easy for them to roll em up

A friend of me is working with something that will set session ID's.
We'll test it soon and if it works out I'll post it
I tested the cookie script and it works but like lane said they can just iframe your site plus alot of tgp webmasters don't like it since quite some ppl have cookies disabled with IE6

<IMX> 11-03-2002 03:19 PM

Anyone testing a solution for this problem?
:(

m0rph3us 11-03-2002 03:32 PM

Yes there are solutions out there.. just gotta know where to looks and yes, it does work with .htaccess.

x3m 11-04-2002 05:48 AM

So, has anyone found the solution other than renaming files?

LBBV 11-04-2002 06:30 AM

http://gofuckyourself.com/showthread...61#post1010461

MichaelH 11-04-2002 07:32 AM

There's actually a complex solution against hotlinking. But it's bound to the hosting solution i'm using as a customer for more than 4 months now, since they custom programmed it for me and only use it on their own hosting facility.

Contact me on icq : 146920758 for more info.

Michael

asmdude2001 11-04-2002 09:19 AM

I heard Like Whoa has the same policy, they have a very advanced movie protection script that works 2 different ways depending on your surfers. There is protection enabled via Cookies, and there is another variation of that script. It securely serves movies in all ways. Left Click, Right Click, and Save Target As. From what I know they only offer it to their hosting customers but get in touch with them to find out more.

http://hosting.likewhoa.com

Quote:

Originally posted by MichaelH
There's actually a complex solution against hotlinking. But it's bound to the hosting solution
Michael



All times are GMT -7. The time now is 06:31 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123