can this be used to restrict or limit access to /users and /admin?
I only want users from a certain network/ip/etc to have access to those aliases.
thxs
can this be used to restrict or limit access to /users and /admin?
I only want users from a certain network/ip/etc to have access to those aliases.
thxs
Comments
Comment #1
mrfelton commentedYes, this can be used to limit/restrict access to any menu path. It works by using hook_menu_alter to add path_access's permissions check onto the front of every menu path, including /users and /admin.
Comment #4
tetraflake commentedI need to restrict access to /users and /admin however I cannot understand the solution in this fix.
Can someone please explain how this can be done.
P.S: I need only user from local internal subnet or from 2 internal IPs to be able to user the /users and /admin page. Others should get page denied.
Thanks
Comment #5
buddaYou cannot restrict by IP using this module.
IP restrictions could be done at the Apache vhost level if you wanted.