Greenguy's Board WebcamWiz CRAZY $5,000 Reward Bonuses


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-11-21, 06:49 PM   #1
JD
Lord help me, I'm just not that bright
 
Join Date: Oct 2006
Posts: 107
What htaccess are u using?

Hi all

Been researching which htaccess to use in my images directory. There seems to be a few different variations, can someone please show me the one they are using successfuly? And htaccess doesnt protect movies does it? Does anyone bother trying to protect hotlinking of your movies?

thanks
JD is offline   Reply With Quote
Old 2006-11-21, 11:35 PM   #2
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
I dont know what you mean by which one to use for your images directory. As far as I know it's just a text file renamed to a .htaccess extension. I went to this link http://bitesizeinc.net/demo.htaccesser.html
to build mine but it seems down more and more recently. I like that it had a ton of features and was kind of a one stop shop. But if you do a search on htaccess generator you will find more then enough links. No matter what anyone tells you, unless there is a magic update over the last few months you can not protect movie files. Don't buy anything that tells you it can generate you a ht file to do so cause it wont. I'm sure people would love to protect HL of their flicks if they could but in the end it's a crazy battle. Don't think about it to much or it will drive you crazy. Build what you are building and if you notice someone HL your stuff then come here and tell people 1) so they know and can check their own stuff 2) they can give you good advice on how to make it stop.

BTW AC/DC ROCKS!!!
juggernaut is offline   Reply With Quote
Old 2006-11-22, 06:45 AM   #3
JD
Lord help me, I'm just not that bright
 
Join Date: Oct 2006
Posts: 107
yEH ACDC are the best man. Last year they finished 2nd highest earning Australian Entertainers, and they didnt even release an album!
Brings back memories of school they do ). My dad did security at one of their first live gigs in Melbourne lol. Have you heard of the angels? I used to like them too, but they are lot diff than acdc.
re htaccess - I can find heaps of sites with htaccess to use, but what I mean is, they all use different code. They have sligtly differnt variations. THe one I used to use back in the day, was one that you upload to the image area. But the one I'm looking at now is one that you can upload to the root directory. Never even heard of that one before. Thanks

JD

Last edited by JD; 2006-11-22 at 06:48 AM..
JD is offline   Reply With Quote
Old 2006-11-22, 07:27 AM   #4
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,932
If you put an anti hotlinking .htaccess file on the root it protects any image in all the subdirs. If you put the .htaccess file in the image directory it will only protect the images in that directory and the subdirs of your image directory. But bot .htaccess files are the same.

Damn I really should be able to draw you a picture with that

And yes, AC/DC rocks
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2006-11-22, 07:53 AM   #5
jayeff
Just because I don't care doesn't mean I don't understand!
 
jayeff's Avatar
 
Join Date: Sep 2006
Posts: 95
Send a message via ICQ to jayeff
Quote:
Originally Posted by JD View Post
And htaccess doesnt protect movies does it? Does anyone bother trying to protect hotlinking of your movies?
Movies (actually anything using java(script)) will not send header information, therefore you cannot trap calls by their source. This isn't very secure, but it is better than nothing:
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*your-domain.com/ [NC]
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$)
RewriteRule /* http://%{HTTP_HOST}/ [R,L]
However, for it to work, on a page someone will visit before loading a movie, you must set the cookie by putting this in the <head> section:
Code:
<SCRIPT LANGUAGE="javascript">
document.cookie = "id=valid; path=/"
</SCRIPT>
jayeff is offline   Reply With Quote
Old 2006-11-22, 12:27 PM   #6
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
However, for it to work, on a page someone will visit before loading a movie, you must set the cookie by putting this in the <head> section:
Code:
<SCRIPT LANGUAGE="javascript">
document.cookie = "id=valid; path=/"
</SCRIPT>
[/quote]And the bad part of this is that it will get your submitted sites rejected. But if it's on your hub or something you are not submitting give it a try..
juggernaut is offline   Reply With Quote
Old 2006-11-23, 06:18 AM   #7
JD
Lord help me, I'm just not that bright
 
Join Date: Oct 2006
Posts: 107
Thanks GUys ), I was kind of hoping over the last 3 years or so there would be a solid fix now, seems that sort of stuff just doesnt progress with the times!!!

Fonz, bugger, what a dumbass for not knowing that years ago, if I had a dollar for every damn avs site I used to upload a htaccess file into its members area!!!! Will have to try that one out, thats so much better than doing it in each directory, lol.
JD is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:50 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc