![]() |
How to protect movie files?
Does anybody know how to protect movie files from being hotlinked but still be able to play them in media player?
|
.htaccess?
|
since media player doesn't read the referrer information it's almost impossible to protect movie files.
try to upload em in zip format and protect em with .htaccess |
.htaccess?
... does not work. the easiest is to change the location of the movie "../movie/cumshot.avi" by a script every hour or so ... donīt forget to update your html pages too ... |
You either have to hide the real location and have a script pass the movie through and output it, or like already mentioned, have a script change the movie folder name all the time. .htaccess with mod_rewrite doesn't work for movies. The scripts I tried didn't work either. :BangBang:
|
put the following line between < head > < /head >
< SCRIPT LANGUAGE="javascript" > // Calculate the expiration date var expires = new Date (); expires.setTime(expires.getTime() + 6 * 60 * 60 * 1000); document.cookie = "id=valid; path=/" + "; expires=" + expires.toGMTString(); < /SCRIPT > and the following here's .htaccess upload it to the folder you have movies. AuthGroupFile /dev/null RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/.* [NC] RewriteCond %{HTTP_REFERER} !^http://your-IP-Number/.* [NC] RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.;)*|$) RewriteRule /* http://yourdomain.com/ [R,L] |
build the movie as a sym link - it doesnt exist unless the person is logged in to your domain. hit me on ICQ and I can show you an example or sell you the script we wrote.
cookies and htaccess dont work for reasons already discussed. |
sleepy is an official reseller of jesus scripts
|
Hit me up on icq Sleepy - my number is 41088979
Thanks |
paul i told you to message directly jesus.....
|
Thanks for the replies folks.. much appreciated.
:thumbsup |
Quote:
|
Quote:
|
Newbie to the board so please don't flame.
Question: What do you all know and think about using DRM technology to protect your Movies? I was directed to this thread by a friend of mine and I was bummed to see that there was no mention of it. Hit me up and tell me what you think. Regards, CNote |
As far as I know, file and folder auto-renaming is the only way.
|
Another way would be to use htaccess to ban access from known hotlinking urls - such as surfer's message boards. This would require you keeping an eye on your server logs to catch hotlinkers though.
|
Quote:
|
Quote:
I'm sure I've seen movie content protected by .htaccess before. You can either embed the current username/password in the link http://user:[email protected]/video.mpg otherwise it'll pop-up a login dialog box, surely? I'm not saying you're wrong, I just can't see why denial this way can't work as it's server based. The only thing you've got to watch for is the same username coming from too many IPs which a simple script should be watching out for on all protected content anyway. |
All times are GMT -7. The time now is 05:38 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123