GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Protecting Video content with htaccess? Possible? (https://gfy.com/showthread.php?t=282568)

gleem 05-06-2004 06:55 AM

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?

Juicy D. Links 05-06-2004 07:06 AM

Nope :( you need one of the third party solutions

http 05-06-2004 07:11 AM

check your PM at avs lounge :winkwink:

stev0 05-06-2004 07:15 AM

yes, it's possible.. pretty easy too actually.

One sec

stev0 05-06-2004 07:24 AM

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.)

stev0 05-06-2004 07:24 AM

heh, nevermind... can't post it i guess. Board has to many words banned.

gleem 05-06-2004 07:42 AM

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.

raymor 05-06-2004 09:44 AM

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.

gwilkins 05-06-2004 10:20 AM

Quote:

Originally posted by raymor
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.

Looks like a good script :thumbsup
Is it adaptable to stop hotlinking to directories full of MPG's from gallery posts?

tucker 05-06-2004 10:54 AM

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!

gwilkins 05-06-2004 10:56 AM

Almost forgot, for the search engine challenged here's raymor's link:
http://www.webmastersguide.com/htaccess-cgi/strongbox/
:glugglug

OY 05-06-2004 11:03 AM

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