Re: simple question

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Berényi Gábor <ber_(at)freemail(dot)hu>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: simple question
Date: 2005-03-14 01:50:41
Message-ID: 78BA1F0E-942B-11D9-ACA1-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


On Mar 13, 2005, at 5:39 PM, Berényi Gábor wrote:

> I want to send a password __safely__ to the backend that does not
> support ssl, and want to know if libpq will encode it automatically if
> I
> just call PQconnectdb() with an __unencoded__ password and if I ask
> the server administrator to set up an md5 auth method for me in
> pg_hba.conf?

Yes. If you specify md5 in the pg_hba.conf file, that is what the
server will tell libpq to send.

If you have any concerns, try watching your session with something like
tcpflow.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message SG Edwards 2005-03-15 21:07:43 Check before insert
Previous Message Berényi Gábor 2005-03-13 22:39:18 simple question