password management

From: akp geek <akpgeek(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: password management
Date: 2010-05-06 18:31:19
Message-ID: n2t2024a9fb1005061131xd90b715el31a5c39e206e267f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear all -

I am writing function to handle the passwords. Currently the
crypt is being used to store the password in the database. what I need to do
is, when the user wants to change the password, I need to check if that
password is not being used before up to 5 times, If not then then records
should be inserted to the database.

The problem where i am running into, when I capture the
password that user entered, I can't compare to the one in database , because
each time the function crypt gives different one. Is there any way that I
can achieve this?

Appreciate your help

Regards

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2010-05-06 20:15:59 Re: I need to take metadata from a shell script.
Previous Message Nikola 2010-05-06 17:20:08 Re: pg_class has 3615 rows and 1010Mb in table size