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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-21-2006, 07:20 PM   #1
unmgroup
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?
unmgroup is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2006, 07:24 PM   #2
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
Just wondering, why are you running websites on windows?
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2006, 07:27 PM   #3
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
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
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2006, 07:28 PM   #4
elron
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]
elron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2006, 07:30 PM   #5
unmgroup
Registered User
 
Join Date: Mar 2006
Posts: 67
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2006, 07:33 PM   #6
unmgroup
Registered User
 
Join Date: Mar 2006
Posts: 67
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"
unmgroup is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2006, 07:41 PM   #7
elron
Confirmed User
 
Join Date: Jul 2003
Posts: 1,553
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
elron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2006, 07:45 PM   #8
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
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.
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2006, 07:50 PM   #9
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
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/
__________________
XXX TLD's - Another mosquito to swat.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.