Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Entity Usage 5.0.0 Major update available for module entity_usage (5.0.0). Release: Entity Usage 8.x-2.3 Minor update available for module entity_usage (8.x-2.3). Release: Excel Serialization 2.2.0 Minor update available for module xls_serialization (2.2.0). Release: TMGMT DeepL Integration 2.4.2 Minor update available for module tmgmt_deepl (2.4.2). Release: Disable Login Page 1.2.0 Minor update available for module disable_login (1.2.0). Release: Akamai 5.1.1 Minor update available for module akamai (5.1.1). Release: GraphQL 5.1.0 Minor update available for module graphql (5.1.0). Release: Charts Plotly 1.0.5 Minor update available for module charts_plotly (1.0.5). Module Revived: Two-factor Authentication (TFA) 8.x-1.13 Module tfa updated after 10 months of inactivity (8.x-1.13). Usage Milestone: Easy Email Module easy_email crossed 10,000 active installs.

Token Content Access

726 sites Security covered Drupal 10–11
View on drupal.org

Token Content Access restricts access to individual nodes using unique URL tokens, allowing specific users or groups to view content via a special link without making it publicly visible. It also hides this protected content from default Views results.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.



Token Content Access allows you to protect individual nodes using unique URL tokens. Users can access protected content only by providing a valid token in the URL.

This makes it possible to publish content that remains accessible to anonymous users through a private link (for example, in an email campaign) while preventing access from the general public. The module also hides protected content from Views results automatically.

The module provides an API that allows the same protection to be implemented for other entity types, such as taxonomy terms, users, files, and custom entities. The included tca_node module demonstrates how to use this API.

Token Content Access is designed with performance in mind and does not rely on node grants. As a result, it cannot guarantee access protection in every possible scenario. For example, if content is exposed through custom code or mechanisms other than Views, additional access checks may be required.

Usage

  1. Enable Token Content Access for the desired content type on the Token Content Access settings tab of the content type configuration page.
  2. Once enabled, a Token Content Access settings tab will appear on the edit form of individual nodes.
  3. Generate or manage the access token for each protected node.

Optional feature

To enable the Copy to clipboard button for generated links, install the clipboardjs module.

Maintainers

Original Drupal 7 development by Grant Gaudet.
Drupal 8+ development and maintenance by Kyrylo Loboda.

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
5
Tracked since
Mar 2026
Latest release
1 month ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.1.3 Stable 10–11 Jul 31, 2026
3.1.2 Stable 10–11 Jul 29, 2026
3.1.1 Stable 10–11 Mar 23, 2026
3.1.x-dev Dev 10–11 Mar 23, 2026
3.1.0 Stable 10–11 Mar 19, 2026