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.
Recommended modules/libraries
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.
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