media_revision
Security covered
A Drupal module that manages file revisions for media entities with proper version control, security, and performance.
Overview
The Media Revision module ensures that files attached to media entities are properly managed based on their publication status:
- Unpublished media: files are stored privately and accessible only to authorized users
- Published media: files are copied to public storage for optimal performance with preserved filenames
- Revision history: previous versions remain accessible through private storage
- Security: access control is enforced for private revision files
- Performance: public files are served without Drupal bootstrap