![]() |
How to defend hotlinking?
Howdy folks,
some a**hole from Argentina hotlinked images from some of my freesites and steals massive bandwidth. I wonder how to defend this.... |
Oh by the way: That fucker seems to hotlink not only my content:
http://www.poringa.net/posts/imagene...ladito-08.html http://www.poringa.net/posts/imagene...2007-2008.html |
|
Sometimes it's too easy or just too late |loony|
|
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain.com [NC] RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L] save this as a text file and name it .htaccess and upload it to your image directory. change the domain.com above to your real domain name |
if you really want to have some fun
RewriteEngine On RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC] RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L] be creative with nohotlink.jpg :D |
Put a banner with your own domain name that you want branded there ;)
|
you could also add your url to your images for more traffic.
|
All times are GMT -4. The time now is 03:49 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc