Welcome to WebmasterWorld Guest from 174.129.96.175

Forum Moderators: phranque

Trying to deny access from an IP block

   
7:43 pm on Feb 9, 2004 (gmt 0)

10+ Year Member



Hi,

Im trying to prevent an IP block from gaining access to a server. The block is from something like: 123.0.0.0 - 123.255.255.255

Ive done it individually via .htaccess as such:

<Limit GET POST>
order allow,deny
deny from 123.111.111.11
deny from 123.111.111.12
deny from 123.111.111.13
allow from all
</Limit>

is there an easy way to deny access to the whole group?

thanks!

4:31 am on Feb 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



deny from 123.111.111.0/24
4:35 am on Feb 10, 2004 (gmt 0)

WebmasterWorld Administrator bakedjake is a WebmasterWorld Top Contributor of All Time 10+ Year Member



123.0.0.0 - 123.255.255.255

deny from 123

2:05 pm on Feb 10, 2004 (gmt 0)

10+ Year Member



Thanks to both of you.
2:15 pm on Feb 10, 2004 (gmt 0)

10+ Year Member



You can take it as far down as you want of course:

as in

123.111.111
123.111
123

For example.

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month