mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #591] can control the download perms? #352
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yuf19-2022 on GitHub (Jun 23, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/591
Specific Demand
i have some file,and everybody can see them,but i want it need to login for downloading the file.eg:.video,i donnot want they download the video file,can only see
Implement Suggestion
@yuf19-2022 commented on GitHub (Jun 23, 2025):
Maybe the browser support download the video self we see,it can not avoid?
@sigoden commented on GitHub (Jun 23, 2025):
We will not support this feature.
However, you can design your folder structure and authentication permissions to achieve this.
Put the files you want to protect in the
/projecteddirectory and the unprotected files in/public. Then, set authentication with-a @/public -a user:pass@/projected.