FLV Hotlink Protection

To prevent hotlink from other web sites, create an .htaccess file with following code


Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite.com(/)?.*$ [NC]
RewriteRule .*.(jpg|flv)$ - [NC,F]
Upload the file to your "flvideo" folder. This will cause embedded video to stop working if you use OBJECT method, use frame method if you are disabling hotlink protection.

.htaccess file used in BizHat.com - Share Your Videos is

Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://video.bizhat.com [NC]
RewriteRule .*.(jpg|flv)$ - [NC,F]

HOWTO