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)
-   -   Best Bandwidth/Anti-Hyperlinking Protection Script/System? (https://gfy.com/showthread.php?t=647007)

unmgroup 08-21-2006 07:20 PM

Best Bandwidth/Anti-Hyperlinking Protection Script/System?
 
Hey, I'm using apache on a windows 2003 server, and I was wondering if anyone can give me some advice on scripts or mods to prevent hyperlinking on movie files. I already have the codes for images, but it doesnt work for movies.

Problem: People are hyperlinking to my public movie files. Can anyone offer a soultion?

Dirty F 08-21-2006 07:24 PM

Just wondering, why are you running websites on windows?

SmokeyTheBear 08-21-2006 07:27 PM

the problem is windows media player doesnt pass along referrer so if you stop hotlinking of movies you will also stop people in browsers not passing along referrer

elron 08-21-2006 07:28 PM

RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com [NC]
RewriteRule .*[Aa][Vv][Ii]$|.*[Mm][Pp][Gg]$|.*[Ww][Mm][Vv]$ / [F]

unmgroup 08-21-2006 07:30 PM

Quote:

Originally Posted by Franck
Just wondering, why are you running websites on windows?


Because I dont have the time to learn unix that's why. GUI = Easier to learn.

unmgroup 08-21-2006 07:33 PM

Quote:

Originally Posted by elron
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com [NC]
RewriteRule .*[Aa][Vv][Ii]$|.*[Mm][Pp][Gg]$|.*[Ww][Mm][Vv]$ / [F]

"the problem is windows media player doesnt pass along referrer so if you stop hotlinking of movies you will also stop people in browsers not passing along referrer"

elron 08-21-2006 07:41 PM

Quote:

Originally Posted by unmgroup
"the problem is windows media player doesnt pass along referrer so if you stop hotlinking of movies you will also stop people in browsers not passing along referrer"

then this is your solution :

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com [NC]
RewriteRule .*[Aa][Vv][Ii]$|.*[Mm][Pp][Gg]$|.*[Ww][Mm][Vv]$ / [F]


this will just block hotlinking from actuall urls and will allow local hotlinking + media players

Dirty F 08-21-2006 07:45 PM

Quote:

Originally Posted by unmgroup
Because I dont have the time to learn unix that's why. GUI = Easier to learn.


Huh? Get managed hosting and you dont need to learn any unix.

Webby 08-21-2006 07:50 PM

Quote:

Originally Posted by unmgroup
Hey, I'm using apache on a windows 2003 server, and I was wondering if anyone can give me some advice on scripts or mods to prevent hyperlinking on movie files. I already have the codes for images, but it doesnt work for movies.

Problem: People are hyperlinking to my public movie files. Can anyone offer a soultion?

Check out this thread unmgroup..

http://www.gofuckyourself.com/showthread.php?t=645080

And note this link from ServerGenius

http://www.antihotlinking.com/


All times are GMT -7. The time now is 01:05 PM.

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