Re: Postgresql security checks

From: Thom Brown <thom(at)linux(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, Machiel Richards <machielr(at)rdc(dot)co(dot)za>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Postgresql security checks
Date: 2010-09-08 08:11:23
Message-ID: AANLkTin2vaea=OJpoAEcHaRd2n3x83J_VyOAJFE443rD@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 8 September 2010 00:26, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> Thom Brown wrote:
>> > It is documented here:
>> >
>> > ? ? ? ?http://www.postgresql.org/docs/9.0/static/encryption-options.html
>> > ? ? ? ?17.7. Encryption Options
>> > ? ? ? ?Encrypting Passwords Across A Network
>> >
>> > ? ? ? ? ? ?The MD5 authentication method double-encrypts the password on the
>> > ? ? ? ?client before sending it to the server. It first MD5-encrypts it based
>> > ? ? ? ?on the user name, and then encrypts it based on a random salt sent by
>> > ? ? ? ?the server when the database connection was made. It is this
>> > ? ? ? ?double-encrypted value that is sent over the network to the server.
>> > ? ? ? ?Double-encryption not only prevents the password from being discovered,
>> > ? ? ? ?it also prevents another connection from using the same encrypted
>> > ? ? ? ?password to connect to the database server at a later time.
>>
>> The difference with that is that it's talking about how passwords are
>> protected by a form of encryption when sent across a connection rather
>> than how they're stored in a database.
>
> Yes, you are right.  Should this be documented?  Where?

Whether it needs documenting, I'm not sure, but if it were to go
anywhere, I believe it would be here:
http://www.postgresql.org/docs/current/static/catalog-pg-authid.html

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Thomas Uzunoff 2010-09-08 08:41:40 PostgreSQL article online - PDF
Previous Message Bruce Momjian 2010-09-08 01:56:00 Re: Raw Device Support