Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Anti hotlink for flash (http://www.greenguysboard.com/board/showthread.php?t=36002)

HarryM 2006-11-12 06:55 AM

Anti hotlink for flash
 
Does anyone know a good script that I can use to stop hotlinking of .flv files? htaccess won't do. I like the look of http://coldlink.com/ but it's only for windows.

Toby 2006-11-12 08:13 AM

Take a look at PhantomFrog, although it may be more than what you need.

Useless 2006-11-12 07:52 PM

Could you use htaccess/mod_rewrite to hide the location of your .flv files perhaps? Wouldn't deny hotlinking, but if they couldn't find the true location of said files, they wouldn't be able to hotlink them.

virgohippy 2006-11-12 09:12 PM

Quote:

Originally Posted by Useless Warrior (Post 311860)
Could you use htaccess/mod_rewrite to hide the location of your .flv files perhaps? Wouldn't deny hotlinking, but if they couldn't find the true location of said files, they wouldn't be able to hotlink them.

How would you do that UW? A conditional rewrite that only works on your own domain/ip?

HarryM 2006-11-12 10:00 PM

That would be perfect, I read some articles that were using both php and htaccess to do just that but if there's an easier way please do tell

zigx 2006-11-14 02:43 AM

One way might be to have your CMS rename the file every hour, and update the link on where ever u have it.

So for example, if its blah.flv.... store that in ur db then on the hour have a script 1 rename the file, then 2 update the html to reflect the proper path/file name.

Technically someone coujld hot link your flv for like 1 hour max BUT, maybe u could do something with that ;)


All times are GMT -4. The time now is 12:52 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc