AlistGo / AlistGo/alist

能否生成一个文件或者文件夹的临时访问链接?

未關閉
#8,336 7 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Go
星號
50.2k
分支
7.9k
平均合併
7 天 21 小時
30 天內合併 PR
6

描述

### 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 / 需求描述

这个功能大家应该很常用到才对。例如视频的临时授权访问,那么就需要生成一个临时sign。目前有一个“签名所有”功能,但是这个签名无法设定过期时间,而且我看了下,好像一直都不过期,而且sign值在同一个用户下是相同的,这完全不符合需求。
希望能有这种功能:根据token,path,有效期,生成一个sign,path可以是具体一个文件,也可以是一个文件夹。
然后 http://www.xxx.com/aaa/bbb/cccc.mp4?sign=xxxxxxxxx,这种形式访问

### Suggested solution / 实现思路

_No response_

### Additional context / 附件

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。