Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add authentication for web server scripts #3100

Open
totaam opened this issue Apr 29, 2021 · 0 comments
Open

add authentication for web server scripts #3100

totaam opened this issue Apr 29, 2021 · 0 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Apr 29, 2021

1b5fba9 makes it possible to choose which scripts are enabled, but it would be better if we could also add an authentication layer.
If the client's GUI has a username and password input, we can just use those to authenticate with the builtin web server.
Example code: HTTP Server with Basic Authentication using BaseHTTP

totaam added a commit that referenced this issue Aug 25, 2022
only enabled via env vars for now
totaam added a commit that referenced this issue Aug 26, 2022
also run them in a thread so we don't block the UI with any IO (loading password files) or remote requests (gss / kerberos)
totaam added a commit that referenced this issue Aug 26, 2022
the modules don't need to know about the packet,
which is a lower layer concept
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant