per the title, would it be a wise move for me to store all the IP addresses I want to allow to access my pages in one database and all the blocked ones in another database? i’m not 100% full on with MYSQL primary top-level versions of the solution so I’m not sure if this is wise or if it is overkill. I’m simply looking to do this:
if (ip address found in block of IPs in database table) {
block access to the page }
else { allow access to the page }
I would like to restrict access to only IP addresses that show up without server-content headers in them. for instance, I want to block this: jobqueue-listener.jobqueue.netcraft.com-udd4b1482ac3811ebb4359310838d6ab1u-digitalocean-2gb
and I want to allow this: 20.52.17.78, and every other ip address that comes through normally, along with all google-oriented spiders.
what’s the best way to accomplish? thanks for assistance. any is welcome.