PDA

View Full Version : HELP! IP Banning!


KrayzieGirlAng
12-12-2004, 10:53 AM
I have a website that is subhosted by activewebdesign (my host is hosted by them). It's a personal/blog site. However, somehow my mother in law got the link to my site and has been reading my "journal" and printing things out, causing problems, etc. So I want to block her IP - I know her IP address but I'm not sure how to do that! I have been looking EVERYWHERE online (searches) to find out how. The only thing I found was a .htaccess that you need and I have that...I'm not sure if there's a certain place I'm supposed to have that file? Is it even possible with me being subhosted? I REALLY need to block her IP - or I have to find hosting elsewhere and I don't want to let her immaturity control my life - but she's causing problems like crazy! *basically, if I mention someone in there, venting, she is printing it out and showing that person AND it goes even more extreme than that*

chilipie
12-12-2004, 11:01 AM
In the .htaccess file:

order allow,deny
deny from persons.ip.address
allow from all

Spookster
12-12-2004, 02:50 PM
Blocking her IP address won't do you any good if she has a dynamic IP address that will constantly change.

Use the .htacess file to password protect your journal.

mlseim
12-12-2004, 10:27 PM
So let's say you make it password protected so she can't see it ...
now, cousin Sally or Uncle Bill see it and then tell mother-in-law what
it says ... :rolleyes:

I guess a person shouldn't post anything on the internet that shouldn't
be seen by everyone in the world, text or images.

Write your thoughts on paper and stick it under your mattress.

bullsox91
12-12-2004, 11:20 PM
I was banned form RealGM.com and is there any way i can get around it?

cfc
12-13-2004, 04:38 AM
We can't tell you how to violate the terms of use (or similar documents with different names) of a website (or program), nor can we tell you how to get around being banned from them. See the "Rules" Link near the top of the page.

As for where to put the .htacces file:
Place the .htaccess file in the folder you don't want to allow this person to access and see if it works. If your host doesn't allow you to use .htaccess files or the person that is harassing you has a dynamic IP (ie they have a dial-up connection), .htaccess will not work and you may have to resort to javascript passwords which are relatively easy to get around (assuming your host doesn't allow server-side scripting). Of course, the best solution is not to post sensitive information where everybody can see it...

ronaldb66
12-13-2004, 01:54 PM
I really think you need to have a stiff talk with your mother in law, first of all; then again, if you don't want certain info to be publicly accessible, putting it on Internet may not be a very good idea, anyway.

Horus Kol
12-13-2004, 03:48 PM
i don't understand people who divulge stuff in Blogs and expect it not to backfire on them - I mean, you wouldn't stand in the street and shout it out, would you?

Naggykristin
02-19-2005, 06:00 PM
In the .htaccess file:

order allow,deny
deny from persons.ip.address
allow from all


I realize that this is an old thread, but how would you modify this code for banning multiple IP addresses?

gsnedders
02-19-2005, 06:06 PM
order allow,deny
deny from persons.ip.address
deny from persons2.ip.address
deny from persons3.ip.address
deny from persons4.ip.address
deny from persons5.ip.address
allow from all


Get the idea?

NeilKelty
02-19-2005, 06:07 PM
a simple tip:

"Do not place anything on a website that you would not want written on the front page of the New York Times on Sunday!"

Naggykristin
02-19-2005, 06:15 PM
I don't. This is to ban users from all areas of a message board. We have some persistent people that just won't take the hint and go away. :mad:

And thank you for the coding, I just wanted to make sure it was correct. :D