PDA

View Full Version : ban user with htaccess


Kara
01-28-2001, 12:40 AM
I need to ban a user because she is being rather abusive (putting it mildly).[nbsp][nbsp]I'm actually going to issue a cease and desist, but something will have to do in the mean time.

A friend helped me with the code, but I just want to run it past y'all cuz you are way smarter then me (the friend didn't give good directions LOL).[nbsp][nbsp]Will this work?[nbsp][nbsp]Does it have to go in every folder I don't want her to access?

<code>
AuthUserFile /big/dom/xdomain/.htpasswd
AuthGroupFile /dev/null
Options Indexes FollowSymLinks Includes
Order allow,deny
Allow from all
deny from 64.230.14
deny from 64.230.15
ErrorDocument 404 http://domain/404.html
</code>

Thanks bunches,
Kara
[nbsp]-having a really bad day :(

Deb
01-28-2001, 12:44 AM
I think you'll find this thread goes through and explains the process in detail....

http://www.aota.net/ubb/Forum1/HTML/000350.html

Best advise is to start at the beginning copying out the useful tidbits and by the time you reach the end the task should be completed :)

Deb
[nbsp]- Passing along some Asperin


[This message has been edited by Deb (edited 01-28-01@12:44 pm)]

Kara
01-28-2001, 12:47 AM
thanks for the apirin...can I have the whole bottle?

Kara

Deb
01-28-2001, 12:52 AM
No can do kara...we'd like to keep you around... I'll allow up to 4 but the OD stops there :P

Deb
[nbsp]- Concern

Kara
01-28-2001, 01:26 AM
LMAO Deb![nbsp][nbsp]I'm glad I'm valued somewhere :P

Ok I followed those directions as best I could.[nbsp][nbsp]I'm not real savvy with this stuff.

I have
[code}
<Limit GET PUT POST>
Order allow,deny
Allow from all
deny from 64.230.14
deny from 64.230.15
deny from 207.35.143.
</limit>
[/code]

The boards can still be reached but none of the images show (cuz they are in www and not cgi?) and when she clicks a link on the boards it's forbidden hehe.[nbsp][nbsp]Good enough for government work LOL.

My vizbook script gived the forbiddin page (THANK YOU GOD!)

My classified script still works fine for the banned IP *sigh*, but what I have up will have to do for now.

Kara