Re: field with Password - Mailing list pgsql-general

From Iñigo Barandiaran
Subject Re: field with Password
Date
Msg-id 49896FB1.3090103@vicomtech.org
Whole thread Raw
In response to Re: field with Password  (John R Pierce <pierce@hogranch.com>)
Responses Re: field with Password  (John R Pierce <pierce@hogranch.com>)
Re: field with Password  ("Adam Rich" <adam.r@sbcglobal.net>)
List pgsql-general
Thanks for your answers. Sorry for the questions but I'm new to Postgre :)

The problem with a plain text password is that a user can see it by
looking at the user table.
Both suggest to use MD5. How can i use it? Any link, example about this
would be very appreciated.

Thanks in advance!
> 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.
>
>
>
>


pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: field with Password
Next
From: wstrzalka
Date:
Subject: Sort method: external merge