![]() |
Protecting Video content with htaccess? Possible?
So whats the final answer, is it possible to protect wmv/mpeg/mov's with an htaccess or are we all stuck needing a giant script to do it?
|
Nope :( you need one of the third party solutions
|
check your PM at avs lounge :winkwink:
|
yes, it's possible.. pretty easy too actually.
One sec |
This code will work...
put this in your htaccess file. switch the yourdomain.com to whatever your domain is.. and the blah.com to wherever you want to redirect your hotlinkers. RehahahahahaEngine on RehahahahahaCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com(:80)*/ [NC] RehahahahahaCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*freeagecard.com(:80)*/ [NC] RehahahahahaCond %{HTTP_hahahahahaha} !(^|(.+;)*)id=valid(;.*|$) RehahahahahaRule /* http://blah.com/sendyourhotlinkershere.html [R,L] ) NEXT add this between your hahahahahaha> and </HEAD> tags on your content url. hahahahahahahaha LANGUAGE="hahahahahahahahahaha"> // Calculate the expiration date var expires = new Date (); expires.setTime(expires.getTime() + 24 * 60 * 60 * 1000); hahahahahahahaha.hahahahahaha = "id=valid; path=/" + "; expires=" + expires.toGMTString(); </hahahahahahahaha That hahahahahahahahahaha hahahahahaha will make the movies work. NOTE: when you are testing it, clear all of your hahahahahahas first or test from a different PC. Once you have entered the site, if you have the hahahahahaha it will let you enter for 24 hours i believe.) |
heh, nevermind... can't post it i guess. Board has to many words banned.
|
yeah, I used to use the hahahahahaha deal, had too many problems with people not using hahahahahahas and stuff, might just hahahahaha php proggy to rename the movie directory hourly or something.
|
The id=valid hahahahahaha provides no real security of course,
I can easily make a page that sets such a hahahahahaha and then links right to all of your videos. Besides the fact that about 40% of punters have cokkies diabled .... The way to protect your site, including your videos, is with Strongbox. Strongbox is the only way to secure your videos. |
Quote:
Is it adaptable to stop hotlinking to directories full of MPG's from gallery posts? |
Hi in a word YES.
Check out http://playadrm.com/Site_Demos.asp Go to compact form and you can see three samples of htaccess in action. Our DRM solution is FREE for a week with no strings attached so I encourage you to try it out and of course feel free to hit me up for a demo or more information. PLAYADRM.COM - Your Future Has Arrived! |
Almost forgot, for the search engine challenged here's raymor's link:
http://www.webmastersguide.com/htaccess-cgi/strongbox/ :glugglug |
If you do anything else than www.playadrm.com you are not only wasting your money, but also loose out on brand new revenue...
HANDS DOWN, WWW.PLAYADRM.COM IS THE ONLY SOLUTION FOR DRM |
All times are GMT -7. The time now is 04:17 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123