Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to share specific pages on your Drupal site with others by providing them with a unique URL containing secret query parameters. It acts as a basic access control to hide content from public view without requiring users to log in.

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.

Activity

Total releases
2
First release
Oct 2025
Latest release
9 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.2.2 Stable Oct 16, 2025
1.2.x-dev Dev Oct 16, 2025