Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Uploaded File Filename Randomizer

Security covered Under active development 39 sites

This module renames uploaded files to a random string while preserving their original extension, following OWASP recommendations for enhanced security. It automatically applies this renaming to all files uploaded after installation without requiring further configuration.

The Open Worldwide Application Security Project, aka OWASP recommends in its File Upload Cheat Sheet that files uploaded to web applications are renamed by the application.

This module does that.

Features

This module renames all uploaded files to a random string comprised of characters a-z and 0-9.
The original extension will be kept.

Post-Installation

No post-installation configuration is necessary. Any files uploaded after the module is installed will be renamed.

Additional Requirements

None.

None.

Similar projects

File (Field) Paths can be used with Token to randomize the names of files uploaded to file fields. However, it does not provide a mechanism for files uploaded via other mechanisms, for example via CKEditor into a rich text field.

Drupal 10–11

Ask your assistant about Uploaded File Filename Randomizer

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

1 tracked project depends on this one

Activity

Tracked releases
4
Tracked since
Mar 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.2 Stable 10–11 Jun 17, 2024
1.0.1 Stable 10 Mar 13, 2024
1.0.0 Stable 10 Mar 13, 2024
1.0.x-dev Dev 10–11 Mar 13, 2024