Re: Storing passwords

Поиск
Список
Период
Сортировка
От Christoph Dalitz
Тема Re: Storing passwords
Дата
Msg-id 20021227173446.7e254e4b.christoph.dalitz@hs-niederrhein.de
обсуждение исходный текст
Ответ на Storing passwords  ("Campano, Troy" <Troy.Campano@LibertyMutual.com>)
Ответы Re: Storing passwords  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Date: Fri, 27 Dec 2002 10:01:30 -0500
From: "Campano, Troy" <Troy.Campano@LibertyMutual.com>
>
> Is there a PostgreSQL function that allows you to store passwords, but it encrypts them?
> If not, are there any recommendations for storing passwords?
>
The easiest solution would be a stored procedure written in C that simply
calls the crypt() function (for details: "man crypt"). In that case you will
also need to store the "salt" with the encrypted password.

Even if you have not yet written any stored procedure, it should be done
in less than two hours. See the documentation on "server side programming" for details.

Hope this helps,

Christoph Dalitz

В списке pgsql-general по дате отправления:

Предыдущее
От: Simon Mitchell
Дата:
Сообщение: Re: Trouble with UNIX TimeStamps
Следующее
От: Payal Rathod
Дата:
Сообщение: Re: readline