对于单个文件/文件夹分享的具体建议
- Vorherrschende Sprache
- Go
- Sterne
- 50.2k
- Forks
- 7.9k
- Ø Merge
- 7 T. 21 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### Please make sure of the following things
- [X] I have read the [documentation](https://alist.nn.ci).
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] I'm sure it's a reasonable and popular requirement.
### Description of the feature / 需求描述
`一个支持多存储的文件列表/WebDAV程序`,所以alist文件的分享对象就两个,一个是admin,一个是guest。admin使用sign鉴权的方式获取一个单独使用的链接,但是由于包含路径,把它分享出去是有危险的,因此这种方式只适合自己使用。对于guest设计了两个控制点`用户`和`元信息`,`用户`那里只能挂载一个文件夹,如果我有多个网盘的文件要分享,就只能挂载根路径;`元信息`只涉及到文件夹这一级别不能控制单个文件,是用来限制访客访问的,适合作为博客站点或下载站使用。
***
但是一部分人又希望把alist作为网盘使用,分享对象是变化的个人或多数人,以上方式就不太合适了。假如有数个不同网盘不同文件夹的单文件需要分享,且同文件夹的其他文件不适宜分享,虽然可以使用sign鉴权但并不优雅,而且不同sign过期时间是固定的。理想的方式是右键分享,对文件/文件夹创建一个短链接,短链接可以附带密码和时效,也可以指定访问次数。所有短链由一个页面进行管理,过期可自动删除。(可参考filebrowser)
***
不知道开发者是否有兴趣实现以上内容?
### Suggested solution / 实现思路
[https://demo.filebrowser.org](https://demo.filebrowser.org)
demo/demo
### Additional context / 附件
_No response_
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.