sigoden / dufs

A file server that supports static serving, uploading, searching, accessing control, webdav...
Other
6.2k stars 311 forks source link

Add an authorization token after the link #462

Closed 52funny closed 5 days ago

52funny commented 5 days ago

Specific Demand

I have a requirement that I need to use IINA to open a video on a web page in authentication mode, but IINA may not have the authorization to get the token, so I can't open the video.

image image image

Implement Suggestion

Is it possible to add a token for authentication after the resource link?

Like this:

https://192.168.1.2:5000/space/downloads2/Pulp.Fiction.1994.UHD.BluRay.2160p.DTS-HD.MA.5.1.DV.HEVC.REMUX-FraMeSToR/Pulp.Fiction.1994.UHD.BluRay.2160p.DTS-HD.MA.5.1.DV.HEVC.REMUX-FraMeSToR.mkv
===>
https://192.168.1.2:5000/space/downloads2/Pulp.Fiction.1994.UHD.BluRay.2160p.DTS-HD.MA.5.1.DV.HEVC.REMUX-FraMeSToR/Pulp.Fiction.1994.UHD.BluRay.2160p.DTS-HD.MA.5.1.DV.HEVC.REMUX-FraMeSToR.mkv?token=xxxxxx
sigoden commented 5 days ago

We will not support this feature.

Maybe you can achieve this requirement through custom UI.

image