|
![]() |
#1 |
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 |
![]() |
![]() |
![]() |
#2 |
Registered User
|
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!!! ![]() |
![]() |
![]() |
![]() |
#3 |
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.. |
![]() |
![]() |
![]() |
#4 |
Former pr0n slinger.
|
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 ![]() |
![]() |
![]() |
![]() |
#5 | |
Just because I don't care doesn't mean I don't understand!
|
Quote:
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] Code:
<SCRIPT LANGUAGE="javascript"> document.cookie = "id=valid; path=/" </SCRIPT> |
|
![]() |
![]() |
![]() |
#6 |
Registered User
|
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> |
![]() |
![]() |
![]() |
#7 |
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. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|