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.

Universal File Utils

12 sites Security covered
View on drupal.org

This module provides a system for developers to manage file operations like checking access, downloadability, copying, and removal. It uses event subscribers to allow other modules to control or influence these file actions.

Provides an event-based system for checking file access and file
downloadability plus file copying and removal.

This module does nothing on its own and is for developers to simplify their
task when deciding whether a file can be displayed or downloaded.

Client modules should have event subscribers for either (or both):

  • - UniversalFileDownloadEvent
  • - UniversalFileAccessEvent

The file download event allows a module to decide whether it wants to permit
the download (call `$event->denyDownload()` if not) and can also add headers
if that's needed. An event subscriber will need to be created for that.

The file access event allows a module to decide whether a file (probably an
image) can be viewed or downloaded.

There is a a base event subscriber for this which should be extended, the
client module only needs to provide some data through two methods to decide
whether access is permitted.

Apart from checking download and access, the service also provides the ability
to copy and remove files.

Activity

Total releases
5
First release
Aug 2025
Latest release
4 months ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
3.0.0-beta4 Pre-release Mar 16, 2026
3.0.0-beta3 Pre-release Mar 15, 2026
3.0.0-beta2 Pre-release Feb 16, 2026
3.0.0-beta1 Pre-release Aug 27, 2025
2.0.0-beta1 Pre-release Aug 27, 2025