GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Hot link protection for Video files? (https://gfy.com/showthread.php?t=493225)

markyman 07-17-2005 01:33 PM

Hot link protection for Video files?
 
Anyone know of any hotlink protection for videos files...ie galleries with .mpg .wmv and so on


.htaccess file settings?


Thanks

iwiiiiiiiiii 07-17-2005 02:29 PM

Here what I use.


Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$ [NC]
RewriteRule .*\.(mpeg)$ http://www.domaintoforward.com/ [R,NC]


the domain.com is the domain that you allow video viewing. The Rewriterule is where you want to forward traffic from the website that is hotlinking you, like a paysite. You can also add hotlink.jpeg that the end with a message.

the mpeg is the ext of the files you want to protect.

Work very fine for me, but I'm using it on my httpd.conf with directory condition

<Directory /.../.../.../>
</Directory>

markyman 07-17-2005 03:51 PM

thanks! works great for me too

tony286 07-17-2005 06:51 PM

Thats for posting the hotlinking script needed one for video

Jman 07-17-2005 06:54 PM

hit me up, I have a script for ya


All times are GMT -7. The time now is 04:01 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123