Skip to content

Consolidate resource path for shared file #473

@christaikobo

Description

@christaikobo

Is your feature request related to a problem? Please describe.
When visiting a shared file anonymously, there are at least 3 http paths visited /share /static /api/public, when using an forward auth solution like authelia or authentik, having to whitelist 3 paths is cumbersome, and honestly I don't even know if they are safe to whitelist, i.e. if there are other scenarios where resources that shouldn't be available to an anonymous user hosted at these paths.

Describe the solution you'd like
I suggest consolidating all resources used for a shared file link visited by an anonymous user under /share.

Describe alternatives you've considered
I can manually whitelist some paths, but as described above, I have no confidence whether it's safe or not.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions