| От | Scott Marlowe |
|---|---|
| Тема | Re: MAY I HAVE YOUR ASSISTANCE |
| Дата | |
| Msg-id | dcc563d10809010028o323a8fc0r61bbfc8c86b91e7e@mail.gmail.com обсуждение исходный текст |
| Ответ на | MAY I HAVE YOUR ASSISTANCE (James Kitambara <jameskitambara@yahoo.co.uk>) |
| Список | pgsql-sql |
On Mon, Sep 1, 2008 at 1:03 AM, James Kitambara <jameskitambara@yahoo.co.uk> wrote: > > Please members of the PGSQL-SQL, > > I have one problem with the user table. I want to hide the password for the > users. > > The table format is: > > user ( user_id, user_name, password) > > But I want the password to be encrypted so that when other users send the > query:SELECT * FROM USER; The password must be gabbage. Store it as an md5sum. note that this is a one way function. so then, when someone logs in you md5 the password and compare it to the md5 you saved in the db.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера