Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Secure Share

No security coverage Under active development

Secure Share lets site administrators generate one-time, zero-knowledge encrypted links to safely share passwords, API keys, and sensitive text without requiring recipients to have a Drupal account.

Features

Sharing credentials over email, Slack, or chat leaves permanent plaintext copies behind. Secure Share solves this by encrypting your sensitive information directly in your browser before it ever reaches the server, generating a self-destructing link you can send to anyone.

  • Zero-knowledge client-side encryption: Secrets are encrypted in your browser using the Web Crypto API (AES-256-GCM). The decryption key stays in the URL fragment (#), which browsers never transmit to the server—meaning Drupal never sees the plaintext or the key.
  • Burn-after-reading & view limits: Set secrets to self-destruct immediately after 1 view, or configure a custom maximum view limit.
  • Automatic expiration: Choose an expiration window (1 hour, 6 hours, 24 hours, 3 days, 7 days, or 30 days). Expired secrets are automatically purged on cron.
  • Optional passphrase protection: Add an extra passphrase that combines with the URL key via PBKDF2-SHA256 (310,000 iterations) before decryption.
  • Bot-safe reveal: Link-preview bots (Slack, Microsoft Teams, Discord) only trigger a metadata check and cannot accidentally burn a secret; views are only consumed when the recipient clicks Reveal Secret.
  • No recipient account required: External clients, contractors, or teammates can open the link and view the secret without logging into Drupal.
  • Built-in rate limiting: API endpoints are protected by Drupal's Flood API and strict no-store cache headers.

Post-Installation

  1. Install and enable the module as usual.
  2. Go to Administration > Configuration > System > Secure Share (/admin/config/security/secure-share) to enter credentials or sensitive text, choose expiration/view limits, and click Generate Secure Link.
  3. Click the Settings tab (/admin/config/security/secure-share/settings) to customize default and maximum expiration times, view limits, maximum payload size, passphrase support, and hourly IP rate limits.
  4. Optionally grant the Generate secure share links permission under Administration > People > Permissions to any non-administrator roles that should be allowed to create links.

Additional Requirements

  • Drupal ^10.3 || ^11 (no contributed module or external PHP/JS library dependencies).
  • HTTPS in production (required by modern browsers for the Web Crypto API).

None required. Everything runs using Drupal core and native browser cryptography.

Similar projects

  • One-Time Login Link and Login one time generate single-use links to log into a Drupal user account. Secure Share is for sharing arbitrary credentials, API keys, server access details, or confidential notes with anyone—without requiring a Drupal account.
Drupal 10–11

Ask your assistant about Secure Share

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

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Dec 2026
Latest release
13 hours ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 10–11 Dec 4, 2026
1.0.0 Stable 10–11 Dec 4, 2026