alist icon indicating copy to clipboard operation
alist copied to clipboard

跪求大佬能增加分享地址需要输入验证码

Open jiaz520 opened this issue 1 year ago • 9 comments

Please make sure of the following things

  • [X] I have read the documentation.
  • [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 / 需求描述

我的环境是alist挂在本地硬盘,发现链接只要被别人知道了,迅雷就开始拿我的资料和地址当p2p的点,上传带宽占满了,我设置了元信息,和签名,但是下载地址没有影响,知道知道地址,就可以下载,如果能设置个像百度网盘的验证吗,至少能让别人来我的网站下载,而不是p2p的下载点,

Suggested solution / 实现思路

No response

Additional context / 附件

No response

jiaz520 avatar Jan 09 '24 13:01 jiaz520

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Jan 09 '24 13:01 welcome[bot]

这个应该是个BUG,知道目录结构+文件名,任何验证信息都不要就能下载 @xhofe

huolanyun avatar Jan 10 '24 03:01 huolanyun

未开放guest,不登录的情况下 ,没权限直接访问驱动文件可以直接下载 最新v3.30测试

huolanyun avatar Jan 10 '24 03:01 huolanyun

这个应该是个BUG,知道目录结构+文件名,任何验证信息都不要就能下载 @xhofe

https://alist.nn.ci/config/global.html#sign-all

xhofe avatar Jan 10 '24 03:01 xhofe

你把这个打开就行了

image

刚试的,打开这个后,直接用链接地址是行不通的,必须要有后面的 ?sign=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx才行

{69333FFF-B206-4C79-9853-ADB34AA1D66F}

nibazshab avatar Jan 10 '24 07:01 nibazshab

其实我想最终达到的目的是,下载你随便下载,但是不能直接输入地址就下载,必须通过我的站点,还要防止迅雷把我的点当成P2P点。

jiaz520 avatar Jan 11 '24 02:01 jiaz520

install时候不是指定了域名么,比如mp4.abc.com,你的文件路径是https://mp4.abc.com/2024/hahah.mp4,即使加入密码功能,下载地址还是这个,也不会像百度链接那样多层、多类型加密吧。

退一步说,真要实现这样功能,感觉对服务器的资源消耗也是非常大的

zzxupp avatar Jan 14 '24 14:01 zzxupp

install时候不是指定了域名么,比如mp4.abc.com,你的文件路径是https://mp4.abc.com/2024/hahah.mp4,即使加入密码功能,下载地址还是这个,也不会像百度链接那样多层、多类型加密吧。

退一步说,真要实现这样功能,感觉对服务器的资源消耗也是非常大的

可以参考一下filebrowser,对分享的文件/文件夹进行短链处理隐藏路径,设置分享时间和密码验证或无密码,再添加个分享管理。 直接打开文件路径需要账户验证。

crossxyz avatar Jan 18 '24 02:01 crossxyz

install时候不是指定了域名么,比如mp4.abc.com,你的文件路径是https://mp4.abc.com/2024/hahah.mp4,即使加入密码功能,下载地址还是这个,也不会像百度链接那样多层、多类型加密吧。 退一步说,真要实现这样功能,感觉对服务器的资源消耗也是非常大的

可以参考一下filebrowser,对分享的文件/文件夹进行短链处理隐藏路径,设置分享时间和密码验证或无密码,再添加个分享管理。 直接打开文件路径需要账户验证。

看了下确实可行

zzxupp avatar Jan 18 '24 13:01 zzxupp

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 02 '24 13:03 stale[bot]

Hello @jiaz520, your issue is a duplicate and will be closed. 你好 @jiaz520,你的issue是重复的,将被关闭。

github-actions[bot] avatar Mar 02 '24 13:03 github-actions[bot]