| IP Banning with .htaccess .htaccess with be in your ROOT folder, right after public_html in your FTP
Block everyone but yourself
# Begin IP blocking #
Order Deny,Allow
Deny from all
Allow from xx.xxx.xxx.xx
# End IP blocking #
Allow everyone, but block Certain IPS
# Begin IP blocking #
Order Allow,Deny
Deny from xxx.xxx.xx.xxx
Deny from xxx.xx.x.xx
Allow from all
# End IP blocking #
Now another way would be to block the REQUEST, HTTP REQUEST., POST, GET ect
#Begin limit #
<Limit GET POST>
order allow,deny
deny from xx.xxx.xxx.xxx
deny from xx.xxx.xxx.xxx
allow from all
</Limit>
#End limit # |