Re: [GENERAL] Client Authentication methods - Mailing list pgsql-general

From Berend Tober
Subject Re: [GENERAL] Client Authentication methods
Date
Msg-id 5829ebb8-70ee-a8ea-9493-ad89a1610d1c@computer.org
Whole thread Raw
In response to [GENERAL] Client Authentication methods  (chiru r <chirupg@gmail.com>)
List pgsql-general
chiru r wrote:
> Hi All,
>
> I am trying to understand the Authentication method in pg_hba.conf file (password & md5) in
> PostgreSQL database server.
>
> I am assuming that the user provides the  connection string host/usser/password,then client will go
> and contact the DB server pg_hba.conf file in memory without carrying password over the network
> initially, and then it confirms the authentication method from pg_hba.conf ,then it decides weather
> it send clear text or md5 encrypted password from client to Server to make a session?
>
> Is my assumption is correct ? or What exactly it make the difference for client if i use
> md5/password  in pg_hba.conf file in DB server?.
>


Your assumptions sound consistent with documentation appearing at


https://www.postgresql.org/docs/10/static/protocol-flow.html

https://www.postgresql.org/docs/10/static/auth-methods.html

-- B




-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: chiru r
Date:
Subject: [GENERAL] Client Authentication methods
Next
From: hmidi slim
Date:
Subject: Re: [GENERAL] Spelling dictionaries