Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-09-2002, 02:23 PM   #1
minimouse
Confirmed User
 
Join Date: Jun 2002
Location: Home
Posts: 1,493
.Htaccess question?

Is there a way to prevent hotlink to movie files with htaccess?
__________________
Dead
minimouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2002, 02:57 PM   #2
Nbritte
Confirmed User
 
Join Date: Sep 2001
Location: Kentucky USA
Posts: 689
RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://*www.yoursite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://*yoursite.com/.*$ [NC]
RewriteRule .*[Mm][Pp][Gg]$|.*[Mm][Pp][Ee][Gg]$ http://www.sendthemhere.com

might work

Brian
Nbritte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2002, 03:32 PM   #3
salsbury
Confirmed User
 
Join Date: Feb 2002
Location: Seattle
Posts: 1,070
not really with .htaccess - movie players don't usually use referrers.

your best bet is to create a system that generates one-time-use/one-IP URLs, or maybe time-limited URLs, then "protect" that generator.
__________________
salsbury is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2002, 03:38 PM   #4
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
I've thought about this before, and the best solution I came up with is something like the following:

Have an html page which is protected via .htaccess, that html page has an ssi include, the include file and the movie file(s) change names every once in a while (well, the contents of the include file changes, not its name).

(Hi Salsbury )
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2002, 03:40 PM   #5
salsbury
Confirmed User
 
Join Date: Feb 2002
Location: Seattle
Posts: 1,070
oh great i have another stalker
__________________
salsbury is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2002, 03:43 PM   #6
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
Quote:
Originally posted by salsbury
oh great i have another stalker
I know where you work, muhahahahaha
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2002, 03:58 PM   #7
Nbritte
Confirmed User
 
Join Date: Sep 2001
Location: Kentucky USA
Posts: 689
a cgi script to redirect to the mpeg url might work also


Brian
Nbritte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.