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

mrfelton’s picture

Status: Active » Fixed

Yes, 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tetraflake’s picture

I 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

budda’s picture

You cannot restrict by IP using this module.

IP restrictions could be done at the Apache vhost level if you wanted.