If you would like to prevent an individual or a group of individuals on a certain IP range from accessing your site, you can selectively deny access to them.
You would use the following command format:

    <Limit GET HEAD POST>
    order allow,deny
    deny from
    deny from 18.132.152
    deny from 24.2
    allow from all

Post By Editor (2,827 Posts)

Website: →