View Single Post
Old 2010-02-14, 09:55 PM   #17
brettsimpson
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Nov 2008
Posts: 31
Good tip

Quote:
Originally Posted by Cleo View Post
FLV files can be easily protected using htaccess.

Code:
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)?YOURDOMAIN\.com([0-9]+)?(/.*)?$ [NC]
RewriteRule .*\.(flv|css|asf|mpg|mpeg|wmv|avi|rm|gif|jpeg|jpg|zip|png|swf|mp4|m4v)$ - [NC,F,L]
this was an excellent tip, Cleo... didn't know about this one before you pointed it out
brettsimpson is offline   Reply With Quote