Basic Auth Limited module makes Drupal to apply Basic authentication only to usernames matching configured regular expression pattern.

Why is this important? If your Drupal site is protected with Basic authentication to be not publicly available (e.g. on development environment) and you also allow users authenticate against Drupal with Basic authentication (by having basic_auth module enabled), then you'll get into the conflicts. Every user passing basic auth is also attempted to be authenticated against Drupal as well. Even those who are just used for site protection and are not related to Drupal site in any way. Passing Basic authentication with such a user will result into permission denied response on all of upcoming Drupal pages.

By configuring regular expression pattern you will tell exactly which users should undergo upcoming Drupal authentication. By default all of the users whose username is prefixed with "web_service" will be also attempted to authenticate against Drupal. Every other user will be ignored.

Supporting organizations: 
Full development

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Module categories: Access Control
  • chart icon6 sites report using this module
  • Created by hideaway on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases