PDA

View Full Version : Urgent!!! I need a html-protection script!!!


stain
01-31-2001, 07:07 AM
hi!
some stupid idiots are hotlinking the video archive of my site. i'm using agecheck and as you know it's very easy to get an id.
so yesterday my content url has been posted in several forums and on some sites...that cost me a lot of bandwidth...

so i would like to know:
is there a chance to protect this archive url? i mean the script should do the following:
a people who wants to access my archive directly, should be taken to the site where he has to type in his age check id. after that he will get access.

do you know such a script? please contact me via icq at 23821240!

thanks in advance!!!!!

Dreamer
01-31-2001, 07:30 AM
Is there any way that I can stop someone from entering into archive if he isn't comming from my domain with java script?

stain
01-31-2001, 07:32 AM
i think that there will be no chance with java script, because if someone has disabled java script, the script will take no effect...i already got an answer: you will need htacces on your server! this will work

harvey
01-31-2001, 03:04 PM
Hey man:
Go to Age Check page and check out for the .htaccess file they provide. It will make the work

Peace

breest
02-01-2001, 07:58 AM
How can you prevent HTML theft from htaccess?

Please let me know!

-Breest
9195661

breest
02-01-2001, 07:59 AM
oops sorry that's not possible =)

boneyard
02-02-2001, 12:58 AM
i forget what agechecks referrer url is,ask them and they should tell you,then just replace lancelot with agecheck.
this wil bounce them to whatever page you want if they try to bookmark or link to a page inside your site...i assume thats what you wanted..

AuthUserFile /dev/null

AuthGroupFile /dev/null


RewriteEngine On


RewriteCond %{HTTP_REFERER} !^http://www.your-domain.com/ ;

RewriteCond %{HTTP_REFERER} !^http://your-domain.com/ ;

RewriteCond %{HTTP_REFERER} !^http://your-ip-number/ ;

RewriteRule /* http://www.where ;you want to send them.com/to this file.html [R,L]

For use with Lancelot add this line with the other ReWriteCon statements
RewriteCond %{HTTP_REFERER} !^http://www.validate.com/~lancelot/ ;