Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Prevent Hot linking of video

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

    Default Prevent Hot linking of video

    To Prevent Hot linking of video create a .htaccess file with following content

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://YOURDOMAIN.COM [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.YOURDOMAIN.COM [NC]
    RewriteRule .*.(jpg|flv)$ - [NC,F]
    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


    Code:
    deny from all

  2. #2
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    When I applied these .htaccess documents to the specified folders, the videos would not play.

    DOH Never mind! I forgot to change the domain name.
    If it's not fun, stop doing it!

  3. #3

    Default

    will this allow them to embed the videos still on their sites?

  4. #4
    Join Date
    May 2007
    Posts
    212

    Default

    if you want to disable the embed link on ALL of the videos even existing ones without going one by one

    you can go to video.tpl and comment out the table with the embed/object form in it.

  5. #5

    Default

    I dont want to disable the embeding of movies, i just dont want them to steal my bandwidth.

  6. #6

    Default

    There is another discussion on this topic here:

    http://forums.buyscripts.in/viewtopic.php?t=1245

    My understanding is that your videos will still be embeddable.
    This member is now known as Sitting Out

  7. #7

    Default

    ok thx. do you know anything about getting the progress bar to work? i have followed all instructions in the thread on the forum but i still get a 500 ERROR.

  8. #8

    Default 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?

  9. #9
    Join Date
    May 2007
    Posts
    588

    Default 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

  10. #10

    Default 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.

Page 1 of 3 123 LastLast

Similar Threads

  1. How to prevent "Google Adsense" stopping Tags
    By ataimoor in forum General Discussions
    Replies: 0
    Last Post: 04-01-2008, 02:50 AM

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
  •