Re: field with Password

From: John R Pierce <pierce(at)hogranch(dot)com>
To: Iñigo Barandiaran <ibarandiaran(at)vicomtech(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: field with Password
Date: 2009-02-04 10:25:14
Message-ID: 49896D0A.6030206@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Iñigo Barandiaran wrote:
> Hi.
>
>
> I would like to create a new table where one of the field would be a
> user password. Is there any data type for supporting this
> functionality? Something like Password DataType. I've taken a look of
> the available data types in PgAdmin Application and there is nothing
> similar to this.

most commonly, passwords are stored as hashes, such as md5, rather than
plaintext. 'text' would be as suitable for this as anything, or
bytea, if you want to store the hashes in binary.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2009-02-04 10:26:42 Re: field with Password
Previous Message Thomas Markus 2009-02-04 10:23:46 Re: field with Password