![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Join Date: Mar 2006
Posts: 67
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Just wondering, why are you running websites on windows?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
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
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jul 2003
Posts: 1,553
|
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Registered User
Join Date: Mar 2006
Posts: 67
|
Quote:
Because I dont have the time to learn unix that's why. GUI = Easier to learn. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Registered User
Join Date: Mar 2006
Posts: 67
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Jul 2003
Posts: 1,553
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Quote:
Huh? Get managed hosting and you dont need to learn any unix. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Too lazy to set a custom title
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
|
Quote:
http://www.gofuckyourself.com/showthread.php?t=645080 And note this link from ServerGenius http://www.antihotlinking.com/
__________________
XXX TLD's - Another mosquito to swat. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |