Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

File Encrypt

166 sites No security coverage
View on drupal.org

This module encrypts files uploaded to your Drupal site using the Encrypt and Key modules. When an encrypted file is requested, it is automatically decrypted.

Introduction

The file encrypt module allows you to encrypt files uploaded via Drupal using the Encrypt and Key modules. When encrypted files are requested, they will be decrypted automatically.

Installation

Required provide a path in settings.php where encrypted files should be stored:

$settings['encrypted_file_path'] = 'sites/default/files-encrypted';

Next create an encryption key using your desired encryption method. E.g. https://www.drupal.org/project/real_aes.

Then create an encryption profile at /admin/config/system/encryption/profiles that uses the encryption method and key you created.

Finally, enable file encryption on a field-by-field basis on their respective "Field settings" pages by selecting "Encrypted files" as the upload destination.

Webform

For webform file uploads, create a "webform" encryption profile.

Encrypting file metadata

To encrypt metadata like title and description use the Field Encryption module.

Architecture

The module architecture revolves around a stream wrapper that provides an encrypt:// stream and applies filters that encrypt/decrypt the data that passes through it. URLs take the form encrypt://{encryption_profile}/{path/to/file.ext}, e.g., encrypt://my_profile/images/druplicon.png. The module also provides a route at which decrypted files can be accessed according to field permissions, much like private files.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jan 2026
Latest release
7 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
2.0.0-alpha1 Pre-release 10–11 Jan 27, 2026
2.0.x-dev Dev 10–11 Jan 25, 2026