I am trying to prevent hotlinking of certain filetypes from my site... Bandwidth theft is really killing me lately, so I need to try and curb it somehow.
I've done so with an .htaccess file as follows:
This works just fine if you try and load the file in your browser, but this method is easily beaten by simply putting the URL into a download manager.
Any advice would be appreciated.
I've done so with an .htaccess file as follows:
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?mysite.co.za/ [NC]
RewriteRule .*.(zip|pdf|exe|rar|pps|avi|wmv|mpg)$ bad.gif [L]
This works just fine if you try and load the file in your browser, but this method is easily beaten by simply putting the URL into a download manager.
Any advice would be appreciated.