Skip to content

建议新增一种文件分享链接逻辑 #183

@dishuo183

Description

@dishuo183

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

旧版Alist的分享逻辑是通过【 https://example.com/d/文件路径 】 来下载的,打开文件签名后,虽然可控制分享链接失效时间,但此方式也会暴漏文件的路径,从而被推断出某些私密路径。

能否能添加新一种分享链接的方式,逻辑可以效仿国内知名网盘,点击 分享/复制链接 按钮时在当前界面弹窗,让用户输入或选择分享时长或永久链接,并且分享链接使用虚拟路径,而不是暴露源文件所在路径。甚至还可以对分享链接增加口令鉴权(选择后会写入sqlit3数据库,分享链接过期自动销毁)。另外被分享的用户有一个访客专属的界面可以预览文件,而不会暴露源文件的分享路径。
致敬OpenList团队所有大佬,希望建议能得到采纳!!

Suggested solution / 实现思路

No response

Additional context / 附件

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions