Query Auth Params Main
query auth params settings page
query auth params options per page
query auth params admin toolbar

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

Sometimes you are working on an update to a views page, an article or a new feature on a page that you only want to share with a fellow developer, the customer or a friend. The catch here is that you don't want to give them access as registered users. You don’t want them to have access as authenticated users, you want them to have access only as anonymous users.

You simply want to share a secure link so they can review and comment on the update.

The Query Auth Params module does exactly that. It provides access to anonymous users by using specific query parameter values that you can use to "protect" the page(s) you want to hide from public view.

Let’s say you want to protect example.com/new-awesome-feature or example.com/new-awesome-page. With Query Auth Params you can add example.com/some-page?my_param_key=my_param_value and this page won’t be displayed unless the user has the full url with the correct query params.

You can even use it as a "mini" scheduling module or a user page firewall (/user/login, /user/password) as long as you know what you are doing.

Warning: This is not a security access module and should not be used as such. It provides basic access control for hiding simple pages from your website. Do not use this for advanced access scenarios etc.

Instructions:

  1. Install with composer as usual.
  2. Go to /admin/config/development/query_auth_params
  3. Add the page(s) you want to protect.
  4. Choose between 3 options: forever, once, until a specific datetime.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Access control
  • Created by nikitas on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases