-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Feature request: Protect Web UI / REST API #14
Comments
I'm not familiar with GO otherwise, I would have tried to create a PR. |
Hi Thim! It's a very good feature. If you will be interested to make it by yourself, I will be very glad to help to navigate you as much as I can. First: all HTTP-related code is in Second: I may recommend you to think about basic authorization approach instead of
Of course for the start static username and password will be more than enough |
Hi Reddec, Could you write a small instruction on howto get started with development of the monexec? Something like?
|
Hi Thim! I tried to make a document for that last night: https://github.com/reddec/monexec/blob/master/CONTRIBUTING.md |
Hi Reddec,
The Web UI & REST API is a very valuable for viewing and managing the supervisor services but it is also very public, if you want to be manage it outside an internal network.
Would it be possible to a parameter to the REST API configuration where you could set
acces_token
or something like that.If you access the REST API you have to add the
acces_token
in the request header, which will then be validated before responding the API response.The same token could be used to protect the
/UI
but there I'm not sure what is possible for GO. Ideally it would request a "password input" to be able to view the web ui.The text was updated successfully, but these errors were encountered: