Re: Question on crypt password

From: Holger Marzen <holger(at)marzen(dot)de>
To: Arindam Haldar <arindamhaldar(at)hotpop(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Question on crypt password
Date: 2002-05-24 07:51:29
Message-ID: Pine.LNX.4.44.0205240948280.23555-100000@bluebell.marzen.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 24 May 2002, Arindam Haldar wrote:

> i want to authenticate web users from postgrsql for which i created a
> table having,among others, username & password... is there any data
> types where password can be stored encrypted ?.. at present am vsing
> varchar(16) but i c one (administrator) can read the password. i didnt
> find any data type specifying encrypted type !...

mod_auth_pgsql for Apache has an option to read encrypted passwords. You
can choose betwen plain, md5 an crypt. But it doesn't bother how you
inserted it into the table. Seems that you have to encrypt it with your
favourite tool before you insert it. In the table it's just a
text/varchar type AFAIK.

--
PGP/GPG Key-ID:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xB5A1AFE1

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Moritz Sinn 2002-05-24 13:38:13 user defined variables
Previous Message molinet 2002-05-24 07:34:07