Is there anyway of preventing someone from hotlinking pictures using htaccess?
HELP! My BW bill is huge this month so far...
HELP! My BW bill is huge this month so far...


I know

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*domain.com.*$ [NC]
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$)
RewriteRule ^.*\.wmv.*$ http://domain.com/hotlink.htm [R,L]
<script language='javascript' type='text/javascript'> <!-- //hotlink protection var expires = new Date (); expires.setTime(expires.getTime() + 24 * 60 * 60 * 1000); document.cookie = "id=valid; path=/" + "; expires=" + expires.toGMTString(); //hotlink protection --> </script>

Comment