Thread: Hotlinking Scum
View Single Post
Old 2007-08-27, 01:23 AM   #2
JJJ
Rock stars ... is there anything they don't know?
 
Join Date: Aug 2007
Posts: 17
If pictures are hot linked, you can block them accessing your pictures with .htaccess like below.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.yourdomain.com/ [R,NC]

It works with my unix box but you always test before you go to production.

In movies case, you need a software. I don't remember the software name but you google it or someone here may help you.
JJJ is offline   Reply With Quote