pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: Clay Luther <claycle@cisco.com>
Cc: John K. Herreshoff <jkherr@centurytel.net>
Cc: pgsql-odbc@postgresql.org
Subject: Re: odbc - ssl: how-to-do-it.
Date: Thu, 29 May 2003 09:56:53 -0400
Message-ID: <17266.1054216613@sss.pgh.pa.us> (raw)
In-Reply-To: <03AF4E498C591348A42FC93DEA9661B825A24C@mail.vale-housing.co.uk>
References: <03AF4E498C591348A42FC93DEA9661B825A24C@mail.vale-housing.co.uk>

"Dave Page" <dpage@vale-housing.co.uk> writes:
>> Is there any way/what are the ways to secure the passwords 
>> sent by the PGODBC driver to the DB?

> Use md5 passwords. It won't prevent a replay attack, but at least they
> won't be plain text.

Actually md5 does make a replay attack substantially harder.  What goes
over the wire is an md5 checksum of the cleartext password plus username
plus a 4-byte salt chosen on-the-fly by the server.  So a replay
attacker would have to be lucky enough to be challenged with the same
salt he'd seen used before.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <17266.1054216613@sss.pgh.pa.us>
Permalink:  ../17266.1054216613@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17266.1054216613@sss.pgh.pa.us

 · 

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-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dpage@vale-housing.co.uk, claycle@cisco.com, jkherr@centurytel.net
  Subject: Re: odbc - ssl: how-to-do-it.
  In-Reply-To: <17266.1054216613@sss.pgh.pa.us>
  References: <03AF4E498C591348A42FC93DEA9661B825A24C@mail.vale-housing.co.uk> <17266.1054216613@sss.pgh.pa.us>

* 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