Tag: limit download by IP

Limit multiple attachment downloads in WordPress by IP

This solution uses Fail2ban along with a separte PHP script and a MySQL database to limit the number of attachment downloads for an IP. I needed this solution because some IP’s (mostly China) are constanty downloading the same files (zip and pdf) over and over again. In fact, the downloads are started but they never …

Continue reading