-
Need script to protect wmv video files
Need script to protect .wmv video files
Using .htaccess and that doesn't stop wmv files from being linked to from other sites or people cutting and paste it into browser.
seeking cgi/perl that prevents people accessing the wmv files
thanks
Jon
-
You do realize by 'gay' I mean a man who has sex with other men?
Well there is this script...
http://www.antihotlinking.com
Although i was always under the impression you could use .htacess to stop hotlinking of movies by altering the code.
More on this here:
http://www.arsresources.com/articles...s-movies.shtml
Regards,
Lee
-
If I try to use the following, I get "Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."
AuthType Basic
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.gayteenmale.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://gayteenmale.com/ [NC]
RewriteCond %{HTTP_REFERER} !=""
RewriteCond %{HTTP_COOKIE} !^.*ssid=valid.*$
RewriteRule .*\.(gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG|rm|RM| wmv|WMV)$
http://www.mydomain.com/403.htm [R,L]
Any free scripts available?
Last edited by MaleLockerRoom; 01-24-2004 at 05:59 PM.
-
You do realize by 'gay' I mean a man who has sex with other men?
You might want to check with your host that they allow wmv protection in .htaccess i know a few of them dont.
Regards,
Lee
-
virgin by request ;)
Lee speaks wisely! You should contact your host and get the proper way to protect your files since sometimes there are specific lines in the htaccess file that you have to use, plus sometimes the server itself is not setup to "AllowOverride". If your host does not help you or does not know how to help you, its time to look around for a quality hosting company that will help you!
cheers,
Luke
-
No my host says you can't protect movie files using .htaccess
quote:
"movie players do not pass back a valid page referrer"
Waiting for a tech guy who gets back on Monday, he maybe able to help me with setting up a script.
thanks
Jon
-
Moderator
You might want to take a look at this program:
Robot Control Pro
I'm pretty sure Rene sells one site license for $25.00 and I know it stops .wmv hotlinking. He's also top notch in the customer care dept!
-
Options +FollowSymLinks
Options +SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !=""
RewriteCond %{HTTP_COOKIE} !^.*ssid=valid.*$
RewriteRule .*\. (gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG|rm|RM|wmv|
WMV)$
http://www.yourdomain.com/403.htm [R,L]
Insert this in between your <head></head> tags on the movie page..
script
type="text/javascript" language="Javascript">
var expires = new Date ();
expires.setTime(expires.getTime() + 24 * 60 * 60 * 1000);
document.cookie = "ssid=valid; path=/" + "; expires=" + expires.toGMTString();
script
Last edited by southernexposure; 01-31-2004 at 11:16 PM.
-
script
type="text/javascript" language="Javascript">
var expires = new Date ();
expires.setTime(expires.getTime() + 24 * 60 * 60 * 1000);
document.cookie = "ssid=valid; path=/" + "; expires=" + expires.toGMTString();
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks