Skip to content

[FR] Add client-side intent signaling to distinguish between file previews and downloads for audit logging #2564

@yuuhikaze

Description

@yuuhikaze

Is your feature request related to a problem? Please describe.

Add client-side intent signaling to distinguish between file previews and downloads for audit logging. This enables fine-grained access control policies (e.g., ban downloads of MP4/PDF while allowing previews).

Describe the solution you'd like

Enable OpenCloud to audit and control file access patterns by distinguishing:

  • View: User opens file in browser/app for reading
  • Download: User saves file locally

This allows organizations to implement policies like:

  • Allow viewing of MP4 videos but ban downloads
  • Allow previews of PDFs but track/restrict downloads
  • Enforce different rules based on file type and user group

Microsoft 365 implements similar intent signaling, making this a standard pattern for collaborative platforms.

Describe alternatives you've considered

I evaluated Secure View sharing (Collabora), but it currently lacks support for MP4 playback (I understand why). It watermarks documents as well which does not fit/"undermines" my usecase (sharing an art course).

My goal is to leverage the enhanced audit trace to automate enforcement through LDAP; for instance, identifying and restricting users who attempt to download MP4s while still allowing them to stream/view the content. This provides a balance between accessibility and strict content protection for non-redistributable media.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions