Jump to content

Recommended Posts

Posted

There are some hosts that are continuously scraping my website. They are using static IP-addresses, so they are easy to identify.

What is the easiest method to ban some IP-addresses from access your website? Is there perhaps a PW-module for this?

 

Posted

Technically speaking best approach would be to block the IP as early as possible: preferably via firewall (on local machine or before it), but if that's not possible then Apache config, and if that's not possible either then .htaccess.

Blocking access early means that more unwanted traffic gets blocked out, and it is also better for performance ?

That being said, I just updated https://processwire.com/modules/page-render-iprestriction/ to support a list of blocked IP addresses. This module can block access to your site, but note that it won't attempt to protect your static files, so again other alternatives are generally speaking preferable.

 

  • Like 3
Posted

Thank you both for the advise ?

The "page-render-iprestriction"-module looks like a perfect solution for my needs.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...