I have seen lots of discussions on this forum over the years regarding hotlinking, image theft, and htaccess codes and am wondering if my strategy of dealing with image theft is really helpful? I always use an htaccess file with my sites that prevents the images from being hotlinked but does allow them to be "borrowed". My experience is that the type of people who borrow an image simply cut and paste it from my site into their own and they most often also keep the ULR link I embedded into the photo. This gives me an additional link. Could these free links be harmful in anyway ?
The htaccess code I typically use which includes a 301 rewrite as well as a denial of ability to see the htaccess code is as follows:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{http_host} ^yourwebsite.com [nc]
RewriteRule ^(.*)$ http:/
/www.yourwebsite.com/$1 [r=301,nc]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourwebsite.com/.*$ [NC]
RewriteRule \.(gif|jpg|js|css|bmp|png)$ - [F]
<Files .htaccess>
order allow,deny
deny from all
</Files>
[edited by: tedster at 4:47 pm (utc) on Apr 1, 2011]
[edit reason] prevent the automatic collapse of the example [/edit]