homepage Welcome to WebmasterWorld Guest from 54.242.190.171
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
Trying to deny access from an IP block
Schoolbag

10+ Year Member



 
Msg#: 4638 posted 7:43 pm on Feb 9, 2004 (gmt 0)

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!

 

carfac

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4638 posted 4:31 am on Feb 10, 2004 (gmt 0)

deny from 123.111.111.0/24

bakedjake

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



 
Msg#: 4638 posted 4:35 am on Feb 10, 2004 (gmt 0)

123.0.0.0 - 123.255.255.255

deny from 123

Schoolbag

10+ Year Member



 
Msg#: 4638 posted 2:05 pm on Feb 10, 2004 (gmt 0)

Thanks to both of you.

denisdekat

10+ Year Member



 
Msg#: 4638 posted 2:15 pm on Feb 10, 2004 (gmt 0)

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

as in

123.111.111
123.111
123

For example.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved