How to forbid access to mp3?
Hi,I have user who has some of his own mp3 music on site. Problem is that it's very popular but he can't afford more than 20 GB bw per month. So we made a deal once it comes to 18 GB to shut off his mp3 but leave everything else. Since I use Cpanel I get notification once it reaches 80% of monthly bw and I activate .htaccess with following:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(mp3|ram|rm)$ - [F,NC]
This works OK when visitor click on link from site, but if he copy it and enter it directly or use download manager he can get it directly. So is there any way to completly block mp3 files from downloading?
Also if someone has idea how to automatically rename this .htaccess file on first day of every month?
Thanks everyone