Stealing images!

One of my directories did not have the appropriate entries in the .htaccess file to prevent people from stealing my images. What I mean by steal is, they are actually stealing my bandwidth by referring to an image from my site on their site. So what I get are more bytes transferred and a lot more referrers.

You can add these lines to your .htaccess file to prevent this:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?*$ [NC]
RewriteRule .(gif|jpg)$ – [F]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.