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

Private File System provides a way to serve files(i.e. static assets) from the Drupal private file system(private://) based on custom restrictions.

use case 1:
Serve a static website to all authenticated users.

use case 2:
Allow users from a specific country to download a pdf file.

use case 3:
Generated invoice pdf (e.g. [uid].pdf) downloaded only by corresponding user.

Currently, this module does not expose UI. It provides a hook with file URI to return AccessResult::allowed() or AccessResult::forbidden(). we might consider an UI to configure various conditions in future.

Project information

Releases