Re: How to store a password encripted in a user defined table

From: Eugenio Flores <eflores767003(at)yahoo(dot)com(dot)mx>
To: Andrej Ricnik-Bay <andrej(dot)groups(at)gmail(dot)com>, PostgreSQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: How to store a password encripted in a user defined table
Date: 2007-03-01 11:06:22
Message-ID: 675205.64473.qm@web55615.mail.re4.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Thanks Andrej. But how can I use such algoritms in postgresql? arey they defined in a function that I can call?

Or, do I have to code one of those algorithm to use it in my application?

----- Mensaje original ----
De: Andrej Ricnik-Bay <andrej(dot)groups(at)gmail(dot)com>
Para: Eugenio Flores <eflores767003(at)yahoo(dot)com(dot)mx>; PostgreSQL <pgsql-sql(at)postgresql(dot)org>
Enviado: jueves, 1 de marzo, 2007 0:21:06
Asunto: Re: [SQL] How to store a password encripted in a user defined table

On 3/1/07, Eugenio Flores <eflores767003(at)yahoo(dot)com(dot)mx> wrote:
> Hello, I wonder if somebody knows how to store passwords in a
> column that is part of a user defined table.
Assuming that your passwords are application specific use
a sha1 or md5 algorithm (depending on how sensitive your data is)
and store that in a varchar or char field. When the user authenticates
the password gets hashed in the app and compared against the
stored hash.

Cheers,
Andrej

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match




___________________________________________________________
Do You Yahoo!?
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Shane Ambler 2007-03-01 11:38:42 Re: How to union table without union statement?
Previous Message Andrej Ricnik-Bay 2007-03-01 08:21:06 Re: How to store a password encripted in a user defined table