Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Prevent Hot linking of video

  1. #11
    Join Date
    May 2007
    Posts
    588

    Default Re: Prevent Hot linking of video

    also make sure the file isn't in your cache....you a different browser to test on a video you have not opened

    http://www.foxxytheater.com/cinema/flvi ... 548850.flv

    redirects to vshare.in ....that what u set it to?

  2. #12

    Default Re: Prevent Hot linking of video

    Ah, I see. I was planning to install opera tomorrow, so maybe that will give me something to do when playing around with the browser.

    No, I didn't set it to do that. I think there is something in the player.inc that calls that. I'll look into it tomorrow since it's nearly 3am here.

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

    Default Re: Prevent Hot linking of video

    To prevent hotlinking of certain file types, you need to include the extention in the .htaccess in this line:


    Code:
    RewriteRule \.(flv|swf|png|bmp)$ /cinema/include/contenttheif.jpg [L,NC]
    However I too tried the setup wizard and my video played as well so not sure why this isn't working like it's supposed to....

    I put "deny from all' and the videos don't play on my site.

    UPDATE: The code needs to be in the .htaccess in the root directory (not the flvideo directory). I added this bit of code to the main .htaccess AND the logo was displayed instead!!!! Yay!!!! To get the image to be displayed, I just needed to remove the first "slash" so that it was like this (notice the missing slash from infront of "cinema"):

    Code:
    RewriteRule \.(flv|swf|png|bmp)$ cinema/include/contenttheif.jpg [L,NC]
    If it's not fun, stop doing it!

  4. #14

    Default Re: Prevent Hot linking of video

    Hi, How to stop hotlinking in IIS6?
    because I am using ftv server to host my FLV files. I noticed lately my bandwidth consumption is very high its highly likely its due to hotlinking. I think .httaccess dont work in IIS. How can i use .httaccess in IIS or is there any other way to do what .httaccess does in IIS?

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

    Default Re: Prevent Hot linking of video

    create .htaccess and put this in it and upload to your flvideo folder

    Code:
    RewriteEngine on
    
    RewriteCond %{HTTP_REFERER} !^$
    
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$ [NC]
    
    RewriteRule \.(gif|jpe?g|png|bmp|flv)$ templates/images/logo.jpg [L,NC]
    If that still doesn't work, another thing you can do is rename the flv file in admin panel (that's why it's there).
    or try this: http://www.google.com/search?hl=en&q=pr ... gle+Search

    Please do post your findings if someone else here doesn't answer first.
    If it's not fun, stop doing it!

  6. #16
    Join Date
    Jul 2008
    Posts
    10

    Default Re: Prevent Hot linking of video

    posting a link here to see if this works

    http://www.rudeathome.com/flvideo/12174 ... 778892.flv

    http://www.rudeathome.com/view/297/pierced-msn-girl/

    Thanks for the help this seems to work fine for me

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

    Default Re: Prevent Hot linking of video

    Nice. What I do, and this is just a suggestion, is have it link to your site LOGO instead of a "bandwidth theft" notice..this way it appears more like an ad banner (like free advertising for you!!). :D
    If it's not fun, stop doing it!

  8. #18
    Join Date
    Jul 2008
    Posts
    10

    Default Re: Prevent Hot linking of video

    now thats a good idea

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

    Default

    Here's some additional suggestions for preventing FLV hotlinking that I ran across using Google Search Engine:

    Flowplayer Anti-leeching - Rob A's (Im)personal Blog

    http://forums.buyscripts.in/template...ing-video.html

    Media Hotlink Protection

    Here's a little something from JW Player: http://www.longtailvideo.com/support...m-With-FireFox

    Scroll down to the comment by GORDON, he mentions something about headers not sending out referrers in FireFox which renders .htaccess obsolete and recommends using the media Hotlink protection I posted above.
    Last edited by grynmoors; 12-20-2009 at 10:28 PM.
    If it's not fun, stop doing it!

  10. #20
    Join Date
    Dec 2009
    Posts
    4

    Default

    Quote Originally Posted by grynmoors View Post
    Can someone walk us through the usage of this,like what files to edit etc. please?

Page 2 of 3 FirstFirst 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
  •