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)
-   -   recommend a good anti-hotlinking script..? (https://gfy.com/showthread.php?t=318759)

chupacabra 06-27-2004 10:16 PM

recommend a good anti-hotlinking script..?
 
anyone recommend a good "anti hotlinking" script for an *BSD server? something that is pretty protective but doesn't hassle the legitimite visitors too much... anything aside from the normal garden-variety .htaccess directives that is worth looking at? flexible redirection options would be a plus..

QualityMpegs 06-27-2004 10:17 PM

antihotlinking.com ?

xxxoutsourcing 06-27-2004 11:32 PM

Or you can use .htaccess

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{REQUEST_URI} !^/banners.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|mpeg|mpg)$ http://%{HTTP_HOST}/ [R,NC,L]

ZanyCash Larry 06-27-2004 11:48 PM

It's easy to do, but if you want a software use:

SGS 06-28-2004 01:54 AM

Quote:

Originally posted by xxxoutsourcing
Or you can use .htaccess

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{REQUEST_URI} !^/banners.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|mpeg|mpg)$ http://%{HTTP_HOST}/ [R,NC,L]

Remind me not to outsource any .htaccess work to you. :2 cents:

Gunni 06-28-2004 01:58 AM

// BR Guy's Anti Hotlink Script
// CopyRight (c) 2002 Alessandro Fazenda (aka BR Guy)
// http://www.brguy.com/

works pretty well for me :)

Vitasoy 06-28-2004 02:15 AM

Quote:

Originally posted by QualityMpegs
antihotlinking.com ?
Thats what I use :thumbsup


All times are GMT -7. The time now is 03:54 AM.

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