PDA

View Full Version : Can someone post a .htaccess script that works for mpg?


The Ad Boy
04-10-2002, 08:53 PM
Hello,<br /><br />Does anyone have a .htaccess script that successfully works to protect .mpg files? I heard that it wasn't possible because Windows Media Player and other players send a referrer or something that causes problems? Alos, besides ASCII upload and 755 permissions, what else needs to be changed if anything on the server to get it working?<br /><br />Thank you very much for the help, I really apprecate it <img border="0" title="" alt="[Smile]" src="smile.gif" />

SexySites
04-10-2002, 08:58 PM
hmm if the media player fakes the referrer then the only way i can see to do it is to pass the mpgs thru a cgi script ..creating some kinda hash which is created on your html file ..so you cant distribute the file <img border="0" title="" alt="[Big Grin]" src="biggrin.gif" /> or if you do distribute it it only works for a few minutes etc<br /><br />there might be other ways ..im just rambling <img border="0" title="" alt="[Wink]" src="wink.gif" /> <br /><br />laters,<br />Chris

ProgGod
04-10-2002, 09:10 PM
One of the reasons we evented our cache hosting technology, to get rid the need for referrer protection <img border="0" title="" alt="[Smile]" src="smile.gif" />

The Ad Boy
04-10-2002, 10:00 PM
Ok, so as of now it looks like .htaccess will not work successfully for protecting .mpg or .mpeg files.<br /><br />Changing directories may be the way to do it...<br /><br />???<br /><br />Thanks.

xxxinnovations
04-11-2002, 05:13 PM
Hey Ad Boy,<br />The hosting company which I do sales for has anti-hotlinking protection. We currently push a ton of bandwidth everyday and not one bit of it is being burned up by hotlinkers. We make movie galleries and our .mpg, .mpeg, .avi..etc files are all protected. The only way that you can get your hands on this script is by hosting with us... so if you are interested in saving yourself a lot of money in wasted bandwidth costs, contact me on ICQ if you like... 148548592<br /><br />We are the only ones with this script since we wrote it ourselves.<br /><br />Thanks,<br />Brad