Quote:
Originally Posted by Reno78
No, htaccess won't be enough for that.
I dealt with this problem last year. In the end, with the help of Chat GPT, I programmed a PHP firewall that works reliably. The firewall blocks all IP addresses that visit more than 80 pages in 5 minutes. Of course, I use a whitelist for known bots such as Googlebot, etc.
Nothing is 100%, but I've been using this solution for almost a year now, and it works well.
|
i agree, while programming an entire php firewall is an own challenge, you can catch many unwanted bots with simple basic rate limiting on cloudflare on their free tier , this keeps a lot of trash away from your system ressources.