How to restrict admin access on drupal devportal only for internet users. while users on intranet(company network) can have admin access.​

I have drupal devportal on-prem setup , Right now users who have admin access can make changes to devportal being on internet as well intranet(company network). Now i need to restrict those users on internet for admin access. These users should only have authenticated-user access on drupal devportal, not admin access when they are using internet.

0 3 297
3 REPLIES 3

I am planning to make 2 different domain connecting to single database. one with admin access for intranet(company network) users, another one for internet users restricting admin access. Is it feasible?

In this case, the admin/user would be able to access your website from both places.

@Apigee-developer

Use IP whitelisting based on role. Take an example, your company uses VPN or company has static IPs the admin of the Drupal will be able to access the Devportal admin area from company network only.

Checkout some IP related modules on drupal.org. like - https://www.drupal.org/project/restrict_ip