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

Allow setting identity for insecure connections with passwordless basic auth #2653

Merged
merged 2 commits into from Feb 2, 2020

Conversation

dain
Copy link
Member

@dain dain commented Jan 28, 2020

No description provided.

@cla-bot cla-bot bot added the cla-signed label Jan 28, 2020
@dain dain requested a review from electrum January 28, 2020 17:29
@dain dain force-pushed the http-basic-auth branch 3 times, most recently from 4edc430 to b200774 Compare January 28, 2020 21:40
@tooptoop4
Copy link
Contributor

got an example connection string or paragraph about the behaviour? from the sounds of it , it creates security flaw allowing someone to impersonate someone else without their credentials

@martint
Copy link
Member

martint commented Jan 29, 2020

This is only when running in insecure mode (via http), which is useful for testing and development. For secure mode, https and proper authentication (via password, JWT, Kerberos or certificates) is required. Presto will perform authorization and impersonation checks only after the identity has been verified.

For insecure connections, allow HTTP basic auth with no password for setting identity
@dain dain merged commit c5eb424 into trinodb:master Feb 2, 2020
@dain dain deleted the http-basic-auth branch February 2, 2020 16:09
@dain dain mentioned this pull request Feb 13, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants