More and more bandwidth issues slap me in the face every month. In analyzing my band width usage I discovered there was hot linking to my forum. I have a gallery of about 1000 pictures in my forums and. access is restricted to members only but the pictures do get hot linked by some. Finding these out on the Internet is a time consuming process so I decided to use .htaccess to prevent hot linking..
Here is a readily available Java script I am thinking about using.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ {http://www.mydomain.com/nasty.gif} [R,L]
Do you see any potential problems with creating a new .htaccess file using this script and placing it in my ubbt directory? I am sure some of you have faced and resolved the hot linking issue on your site and if you know of another way I would appreciate your sharing.