🇺🇦

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 restrict access to individual nodes using URL tokens. In order to view protected nodes, users must provide a unique token via the URL. This allows nodes to be published and viewable to anonymous users (for instance with a special link from an email campaign) but not visible to the public at large. It also automatically hides any TCA-protected content from Views results.

The module has API to open this ability to other entities such as taxonomy terms, users, files and others. See tca_node module.

This module is designed with performance in mind, so it doesn't use traditional solutions like node grants. This also means that it's not guaranteed to block access in all situations, for instance, if you expose node content via means other than Views.

Usage

Configurable per content type on the "Token Content Access settings" tab. To enable, just pick "Enable Token Content Access protection" for needed content type and then you will see "Token Content Access settings" tab on the individual node editing page.

Drupal 9/10 features

To use clipboard button, just install clipboardjs module.

Maintainers

Original D7 development by Grant Gaudet.
D8 port by Cyril Loboda.

Supporting organizations: 
Initial development

Project information

Releases