Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Restrict Role Login by IP

Security covered Under active development 92 sites

This module restricts logins to specific roles, allowing access only from a defined list of IP addresses or ranges. It offers a performance-focused alternative to continuously checking IP restrictions on every page load. Once a user is logged in, their IP is no longer checked.

This is a minimalistic version of Restrict By IP module .

Restrict By IP module checks for IP restriction for every user on every page load. This module instead checks for such restriction only on login.

Use this module only if you have performance concerns over validating every request against whitelisted IPs.

Unlike its parent module, this module does not allow separate whitelists per role, or per user.

What does this module provide:
Allows login for selected roles only from Whitelisted IP addresses or range of IPs. (Ex: If site admin wants the site staff to be able to login only from office premises or only via their VPN).

NOTE: Once logged in, the user can still access the site by moving outside of the whitelisted IP address. If you wish to restrict such a thing, consider Restrict By IP module.

Ask your assistant about Restrict Role Login by IP

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Nov 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
3.x-dev Dev 10 Nov 20, 2023