#2500·docs

Add expiration date option for public document links

Author: cmarti18Created Jul 6, 2026Updated Sep 17, 2026
Labelsfrontendfeaturebackend✏️ Needs designsecurity

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe. Currently, when creating a public link to a document, there is no built-in option to set an expiration date for the link. This creates a potential security and privacy risk, as the link remains accessible indefinitely unless manually revoked. Tools like Nextcloud offer this functionality, allowing users to automatically expire public links after a specified date, which enhances control over shared content.

Describe the solution you'd like I would like the ability to set an optional expiration date for public document links. When creating or editing a public link, users should have the option to specify a date and time after which the link will no longer be accessible. This feature should include:

  1. An optional field in the link creation/editing interface to set an expiration date.
  2. A clear indication (e.g., a warning or visual cue) when a link is about to expire or has expired.
  3. Automatic revocation of the link once the expiration date is reached.

This would improve security by ensuring that sensitive or time-sensitive documents are not accessible indefinitely. The optional nature of this feature ensures backward compatibility for users who do not require it.