Results 1 to 2 of 2

Thread: FLV Hotlink Protection

  1. #1
    Join Date
    Apr 2007
    Posts
    2,202

    Default FLV Hotlink Protection

    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

  2. #2
    Join Date
    Jan 2010
    Posts
    1

    Default

    hello. i tried your method to prevent flv hotlinking but it is not working :(
    any other idea ?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •