🇺🇦 |
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
- Enable Token Content Access for the desired content type on the Token Content Access settings tab of the content type configuration page.
- Once enabled, a Token Content Access settings tab will appear on the edit form of individual nodes.
- 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.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Access control
842 sites report using this module
- Created by danepowell on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.




