Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

User Restrictions

Security covered Under active development 1,043 sites

This module prevents users from registering or logging in based on their username, email address, or IP address to combat spam. It offers pluggable system for custom restriction types, building upon the base functionality of blocking based on name, email, and IP.

This module blocks users from registering or logging in basing on the entered username or email, or on the IP address used to connect, making it useful for fighting spam accounts.

This module is a drop-in replacement (with some enhancements) for the access rules functionality which was removed from Drupal 7.

The Drupal 8 version implements plugins to allow custom user restrictions to be created above and beyond the name, email, and IP plugins included.

Alternatives

  • If the intention is only allowing or restricting account registration basing on the domain used by email addresses, there is the Restrict Domain Registration module
  • To validate email addresses using advanced, configurable rules, there is the Advanced Email Validation module, which also allows to verify the domain used by email addressed exists and has MX records configured
  • The Disposable Email Address Blocker module protects Drupal form email fields by disallowing email addresses from a custom blacklist of disposable email address domains
Drupal 10–11

Ask your assistant about User Restrictions

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
16
Tracked since
Sep 2025
Latest release
1 month ago
Releases (12 mo)
13 ▲ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0-beta5 Pre-release 11 Aug 27, 2026
2.1.1 Stable 10–11 Aug 26, 2026
4.0.0-beta4 Pre-release 11 Jul 29, 2026
3.0.0-beta4 Pre-release 11 Jul 29, 2026
2.1.1-beta4 Pre-release 10–11 Jul 29, 2026
3.0.0-beta2 Pre-release 11 Jul 15, 2026
4.0.0-beta2 Pre-release 11 Jul 15, 2026
2.1.1-beta3 Pre-release 10–11 Jun 26, 2026
3.0.0-beta1 Pre-release 11 Jun 26, 2026
4.0.0-beta1 Pre-release 11 Jun 26, 2026