![]() |
.Htaccess question?
Is there a way to prevent hotlink to movie files with htaccess?
|
RewriteEngine on
RewriteOptions inherit RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://*www.yoursite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://*yoursite.com/.*$ [NC] RewriteRule .*[Mm][Pp][Gg]$|.*[Mm][Pp][Ee][Gg]$ http://www.sendthemhere.com might work Brian |
not really with .htaccess - movie players don't usually use referrers.
your best bet is to create a system that generates one-time-use/one-IP URLs, or maybe time-limited URLs, then "protect" that generator. |
I've thought about this before, and the best solution I came up with is something like the following:
Have an html page which is protected via .htaccess, that html page has an ssi include, the include file and the movie file(s) change names every once in a while (well, the contents of the include file changes, not its name). (Hi Salsbury :) ) |
oh great i have another stalker
|
Quote:
|
a cgi script to redirect to the mpeg url might work also
Brian |
All times are GMT -7. The time now is 03:36 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123