as detailed in the title:
current requirements:
for the company"s business, its resources are authorized, such as files and pictures uploaded to the system.
now you need to download the file through a hyperlink
on the page, but to download it this way, it is not allowed to pass because it is not recognized by the backend without token.
I have tried to splice token directly after the href
attribute, but I still don"t seem to have the permission to download (I don"t know how the backend obtains this token), but even if it can be downloaded, still has some drawbacks. If others open the control and find this link, they will get the token. Won"t it be leaked?
how to solve this problem?