This project is not covered by Drupal’s security advisory policy.

This module is unsupported due to a security issue the maintainer didn’t fix.

If you want to use this module, your options are:

  • Choose another, actively maintained module instead
  • File an issue in the queue with a patch to fix the module and then contact the security team to have your version reviewed and the project handed over to you following the unsupported project process.
  • Hire someone to fix the security bug so the module can be re-published and supported (Consider hiring companies listed in the Marketplace)

Prevent anonymous user to access Drupal pages

This solution is good for the following solutions:

  • Decoupled ( headless Drupal) that you don't want anonymous user access drupal nodes directly and you just want to serve data through API endpoints.
  • Portals that you just want some specific pages to be available for anonymous user

if the user is anonymous and he/she tries to access any Drupal page he/she will redirects user login.

You can put some URLs on the whitelist route that the anonymous user could access them.
wildcard "*" is supported in whitelist config.

additionally, you can specify the redirect URL ( it can be a relative URI on the Drupal site or an external URL). the default is user login page.

the config form is available on admin/config/anonymousredirect/whitelistroutesconfig

you can read more information about this module at http://www.yuseferi.com/en/blog/get-ride-curious-users-headless-drupal

Project information

Releases