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

implement authentication for hadui http/ws access #3

Open
complyue opened this issue Oct 22, 2019 · 0 comments
Open

implement authentication for hadui http/ws access #3

complyue opened this issue Oct 22, 2019 · 0 comments

Comments

@complyue
Copy link
Owner

complyue commented Oct 22, 2019

this is really a serious security issue for hadui to be used in untrusted environment.

enforcing https/wss with client certificate authentication is ideal for corporate environment, but will add obvious burden in maintenance (key gen, signing etc.) for personal use.

maybe using a hadui.pass besides hadui.yaml is viable for some time: hadui.pass will be generated with random passphrase if does not exist yet; and wsc will not exec stmts until authenticated with matching passphrase passed over the wsc. note this still needs https/wss to prevent the secret being sniffed over LAN, tho can avoid cert signing etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant