jstrieb / link-lock

Password-protect URLs using AES in the browser; create hidden bookmarks without a browser extension
https://jstrieb.github.io/link-lock
MIT License
863 stars 161 forks source link

question #9

Closed evert-hoos closed 3 years ago

evert-hoos commented 3 years ago

hi there , i love the resource ,

lets say i want to prevent users from downloading a specific file , but the way its downloaded is not by browser is there a way to generate a token of somesort ?

jstrieb commented 3 years ago

Hi, thanks for the kind words!

I'm not totally sure I understand the problem you're describing. I am not sure something like that would be possible using a static site like Link Lock, but should be possible if you generate and store tokens server-side.