• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Blocking IP's

N

nwstamps

Guest
How can I block any access from given IP's or range of IP's? I notice that most of the forged mail is coming from certain parts of the world and from speaking to others who run ecommerce, most of the attacks on their security originates from the same areas. I'd like to simply close the door.

I am sure this is an easy one but I haven't found the way yet.
 
You can do it too placing a .htaccess file in your web folder writing this lines:

order deny,allow
deny from 123.45.6.7
deny from 012.34.5.

The third line blocks all the IPs which starts with 012.34.5.
 
Back
Top