pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Berend Tober <btober@computer.org>
To: chiru r <chirupg@gmail.com>
To: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: Client Authentication methods
Date: Fri, 10 Nov 2017 08:56:26 -0500
Message-ID: <5829ebb8-70ee-a8ea-9493-ad89a1610d1c@computer.org> (raw)
In-Reply-To: <CA+RSxMhfEUPdpcWO2bWrBzXgvVXbdckvP=qB1WCO7M9TUCeMsw@mail.gmail.com>
References: <CA+RSxMhfEUPdpcWO2bWrBzXgvVXbdckvP=qB1WCO7M9TUCeMsw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (3+ messages)  latest in thread

Message-ID: <5829ebb8-70ee-a8ea-9493-ad89a1610d1c@computer.org>
Permalink:  ../5829ebb8-70ee-a8ea-9493-ad89a1610d1c@computer.org/
Also on:    postgresql.org/message-id/5829ebb8-70ee-a8ea-9493-ad89a1610d1c@computer.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: btober@computer.org, chirupg@gmail.com
  Subject: Re: Client Authentication methods
  In-Reply-To: <5829ebb8-70ee-a8ea-9493-ad89a1610d1c@computer.org>
  References: <CA+RSxMhfEUPdpcWO2bWrBzXgvVXbdckvP=qB1WCO7M9TUCeMsw@mail.gmail.com> <5829ebb8-70ee-a8ea-9493-ad89a1610d1c@computer.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox