Go Back   BuyScripts Forums > vShare YouTube Clone > Template Modifications

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 12-12-2007, 07:40 AM
Senior Member
 
Join Date: May 2007
Posts: 594
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?
Reply With Quote
  #12 (permalink)  
Old 12-12-2007, 07:49 AM
Member
 
Join Date: Sep 2007
Posts: 60
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.
Reply With Quote
  #13 (permalink)  
Old 03-24-2008, 10:03 PM
Senior Member
 
Join Date: May 2007
Location: Planet Earth
Posts: 1,449
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]
__________________

Reply With Quote
  #14 (permalink)  
Old 05-04-2008, 09:56 AM
Member
 
Join Date: Nov 2007
Posts: 30
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?
Reply With Quote
  #15 (permalink)  
Old 05-04-2008, 10:45 AM
Senior Member
 
Join Date: May 2007
Location: Planet Earth
Posts: 1,449
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.
__________________

Reply With Quote
  #16 (permalink)  
Old 08-03-2008, 11:05 PM
Junior Member
 
Join Date: Jul 2008
Posts: 11
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
Reply With Quote
  #17 (permalink)  
Old 08-03-2008, 11:08 PM
Senior Member
 
Join Date: May 2007
Location: Planet Earth
Posts: 1,449
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!!).
__________________

Reply With Quote
  #18 (permalink)  
Old 08-03-2008, 11:13 PM
Junior Member
 
Join Date: Jul 2008
Posts: 11
Default Re: Prevent Hot linking of video

now thats a good idea
Reply With Quote
  #19 (permalink)  
Old 12-20-2009, 09:07 PM
Senior Member
 
Join Date: May 2007
Location: Planet Earth
Posts: 1,449
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

Prevent Hot linking of video

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 09:28 PM.
Reply With Quote
  #20 (permalink)  
Old 12-22-2009, 06:18 AM
Junior Member
 
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?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent "Google Adsense" stopping Tags ataimoor General Discussions 0 04-01-2008 02:50 AM


All times are GMT. The time now is 02:31 PM.


Powered by vBulletin. Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO