How can i block specific pages and only allow one (of more) IP adresses?
To help you, some information is missing, e.g. do you have a Mezzio application or a laminas-mvc based application?
laminas-mvc with already use autentication and RBAC in place. The url blocking is an extra safety measure