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 06-25-2003, 07:56 AM   #1
Nobody Specific
Confirmed User
 
Join Date: Jun 2003
Posts: 319
Htaccess and video

I'm setting up a bunch of video content underneath one domain and we're trying to use htaccess to allow only certain domains to access it. But when we tried to link to the wmv windows media player opened up and says the file was corrupt. But as soon as we delete the htaccess file, it plays just fine.

Can anyone help?
Nobody Specific is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 07:57 AM   #2
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
You can't use .htaccess to protect media files from being hotlinked anyways, so don't even bother. There are some people on GFY that sell software to suit your needs. I'll post the link as soon as i can find it.
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 08:05 AM   #3
emmanuelle
Confirmed User
 
emmanuelle's Avatar
 
Join Date: Mar 2003
Location: Oh Canada!
Posts: 3,662
I'd love that link too!
emmanuelle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 08:09 AM   #4
Pipecrew
Master of Gfy.com
 
Pipecrew's Avatar
 
Industry Role:
Join Date: Feb 2002
Posts: 14,887
I'am using Hotlinkprotector

http://www.hotlinkprotector.com


Pretty much identical to the other scripts, just way cheaper
Pipecrew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 08:10 AM   #5
Nobody Specific
Confirmed User
 
Join Date: Jun 2003
Posts: 319
Thanks. I'd appreciate a link to some software that I could look at for this.
Nobody Specific is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 07:52 PM   #6
michaelw
Confirmed User
 
Join Date: May 2002
Location: Calgary, Canada
Posts: 1,342
see sig =)
__________________
<b><a href="http://www.hotlinkprotector.com"><font color="yellow">Hotlink Protector</font></a> - Protect all your file types from hotlinking the professional way. <br>
See a demo <a href="http://www.hotlinkprotector.com/demo.html"><font color="yellow">here</font></a>, and testimonials <a href="http://www.hotlinkprotector.com/testimonials.html"><font color="yellow">here</font></a><br>ICQ: 146423631
michaelw is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 08:47 PM   #7
reliable
Confirmed User
 
Join Date: Mar 2002
Location: Plantation Florida
Posts: 243
This is included with all of our virtual plans at no cost.

http://www.xxxwebhosting.com/unixstreaming.htm
__________________
ICQ# 63881097
Skype: Reliablehosting

http://www.xxxwebhosting.com
- For Quality Managed Hosting
http://www.xxxvpn.com - For Secure Net Connectivity and USA IP
http://www.Camsturbate.com - Independent Web Cam Girl Listings
http://www.StrongStreams.com - Secure Windows Media Streaming
reliable is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 08:50 PM   #8
Centurion
Confirmed User
 
Industry Role:
Join Date: Dec 2002
Location: SeATtle
Posts: 6,033
I've never had any problems with any of my vids being hotlinked thanks to mod re-write.

IS there some way a person(s) can avoid that .htaccess file and download? If so, how do they defeat the .htaccess file? (other than using someone's id/pw)
Centurion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 08:57 PM   #9
reliable
Confirmed User
 
Join Date: Mar 2002
Location: Plantation Florida
Posts: 243
We had people bypassing the mod re-write using programs like

http://www.amazesoft.com/

The solution we do now is locked tight, no problems since.
__________________
ICQ# 63881097
Skype: Reliablehosting

http://www.xxxwebhosting.com
- For Quality Managed Hosting
http://www.xxxvpn.com - For Secure Net Connectivity and USA IP
http://www.Camsturbate.com - Independent Web Cam Girl Listings
http://www.StrongStreams.com - Secure Windows Media Streaming
reliable is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 09:02 PM   #10
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
Here you go, and 20% for me. Bwahahaha.

http://www.antihotlinking.com/in/choda
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2003, 09:04 PM   #11
Centurion
Confirmed User
 
Industry Role:
Join Date: Dec 2002
Location: SeATtle
Posts: 6,033
Quote:
Originally posted by reliable
We had people bypassing the mod re-write using programs like

http://www.amazesoft.com/

The solution we do now is locked tight, no problems since.
Thanks for the info. I will check out this software and see what it does. From what I read, it seems that these "mirror urls" pose a bigger threat than the actual software (though I see that this software enables that too!).

Anyone ever investigate http://www.shareurl.com to see what exactly they are all about?
Centurion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2003, 04:55 PM   #12
Claude
Confirmed User
 
Join Date: Apr 2003
Location: Europe
Posts: 1,036
You canŽs protect movies with htacess using "allow-access-based-on-refering-domain" in the same way you can with a htacess that allows access based on htpasswd file.


The reason for the problem is that movie players use java and java does not send headers, therefore the calls are not identified as originating on your server.

However, you can use this:
Your htaccess should read:


RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*your-domain.com/ [NC]
RewriteCond %{HTTP_COOKIE} !(^|(.+ *)id=valid(;.*|$)
RewriteRule /* http://%{HTTP_HOST}/ [R,L]

That last line redirects to your main index page... you can change it to something else if you want. The key line is where your server will check for the existence of a cookie. That isn't dependent on java, so it works.

You put the cookie code within the HEAD section of the first HTML document within your protected area:

hahahahahahahaha LANGUAGE="hahahahahahahahahaha">
// Calculate the expiration date
var expires = new Date ();
expires.setTime(expires.getTime() + 6 * 60 * 60 * 1000);
documenthahahahahahahaha = "id=valid; path=/" + "; expires=" + expires.toGMTString();
</hahahahahahahaha
That code expires the cookie in 6 hours. Adapt the 6 * 60 part to be whatever you want.

That should work, hope you can use it
Claude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2003, 04:57 PM   #13
Claude
Confirmed User
 
Join Date: Apr 2003
Location: Europe
Posts: 1,036
OK, the code above doesnŽt show right.
Email me and IŽll mail the correct code back to you
Claude 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.