Forum Moderators: phranque

Message Too Old, No Replies

How do I ban an ISP from accessing a site?

         

Marcia

9:09 pm on Dec 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There's some really nasty stuff going on. I know the ISP and need to "forbid" from the site altogether.

pendanticist

8:20 am on Jan 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[webmasterworld.com...]

From February of '02. You musta just been a pup then. :o

Marcia

9:08 am on Jan 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks pendanticist, I remember that thread and still need to do something about hotlinked graphics; I have some that seem to be popular for message boards.

I actually wanted to do something a little more interesting for this situation, but this is what I ended up using with what appeared as user agent in Webalizer, not the IP number

order allow,deny
deny from 123.45.6.7
allow from all

It works just fine, I just checked the error log and sure enough, there was a 403 a few hours ago, so now I've got the IP number too.

pendanticist

10:20 am on Jan 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey, that's what I'm here for. :)

bakedjake

5:24 pm on Jan 2, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hey Marcia, you could use some tricky mod_rewrite to do some fun stuff, too. ;-)

Like serving alternate images....

g1smd

3:12 pm on Jan 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I am aware of an acedemic web site in the US that has been hotlinking images off a web site belonging to someone else.

They were asked to stop doing this, and were even given permission to copy the images to their own webserver and host them locally.

They wrote a rude reply, and did not comply.

The image owner has now set it up so that based on referrer, the acedemic site now says "Due to bad weather the school is closed" in place of every hot-linked image, and two weeks later they still don't seem to have noticed.