Prevent Hot linking of video
To Prevent Hot linking of video create a .htaccess file with following content
Upload it to flvideo folder.
If you do not want web access on video folder (orginal uploded video stored in this folder). Create a .htaccess file with following content and upload it to video folder
Re: Prevent Hot linking of video
I'm sorry to bump an old thread, but I was wondering if someone could clue me in as to the most common hotlinking method so I can test this. I've uploaded the prescribed htaccess file and an image to be displayed on the theif's site. I've done a test embed on a blog and the embed worked good, which is what I wanted. But now how do I test to see if hotlinking will be stopped?
Update --
I just used the player setup wizard to load up one of my flv files directly. Since this is external of my site I thought it should be stopped and the thief image displayed. Unfortunately, the video played just fine, so it seems like maybe it's not protecting against hotlinking after all.
Has anyone tested this successfully?
Re: Prevent Hot linking of video
post a direct link to one of your flv files here....when u click the link it should stop you as the refering site is buyscripts.in
Re: Prevent Hot linking of video
Thanks Leki. Let me see here. Actually, I used the code from the other thread; I just pulled up the wrong one to post in. Maybe I should try the htaccess file in this one.
The problem is probably how I did the htaccess file.
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?foxxytheater.com(/)?.*$ [NC]
RewriteRule \.(flv|swf|png|bmp)$ /cinema/include/contenttheif.jpg [L,NC]
I added the cinema part before the include because my vshare is located in a subdirectory titled cinema. Maybe this is where I went wrong.