mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
would it be possible to set/use authorization tokens to limit who can upload? #108
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andrewzah on GitHub.
I want to create an instance to let some people upload, but only if they pass an authorization token. This is different than the basic auth handler, which doesn't make sense for multiple people.
This could be an array of strings, statically set in the config.
@paolafrancesca commented on GitHub:
there's the option to ask for an http basic authorization:
@andrewzah commented on GitHub:
Is it possible to set multiple? Ideally I’d like to set a token per person in case it needs to be revoked or changed.
@paolafrancesca commented on GitHub:
@andrewzah see #537
@paolafrancesca commented on GitHub:
@andrewzah
it's not possible to set multiple credentials: I will look into in ad an
--http-auth-htpasswdparam so that the credentials are read from an htpasswd file@paolafrancesca commented on GitHub:
I will work on it as soon I'll have a little more time