PDA

View Full Version : Stop hotlinking?



Gonzo
July 11th, 2001, 07:39
How can I stop hotlinking? People are linking to some pictures that I have and it is eating up alot of bandwidth. Thanks for you help

niv
July 11th, 2001, 07:44
ask Donovan to install anti-hotlinking software on your account :D

is0lized
February 12th, 2002, 10:28
make a .htaccess file, and have this in it


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?site.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://site.com/.*$ [NC]
RewriteRule \.(gif|jpg|zip|exe|mp3|wav|mpeg|mpeg|asf)$ - [F]


replace site.com with your site, and the files you wnat to stop hotlinking


upload it in your root dir