Re: How crypting passwords in DB

From: Date: Fri, 22 Dec 2000 14:45:25 +0000
Subject: Re: How crypting passwords in DB
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31572@lists.php.net to get a copy of this message
Maxim Maletsky a écrit : > there's a PASSWORD function in SQL Languages, for instance in mySQL qould be > : > > INSERT INTO users (username, password) VALUES ('$username', > PASSWORD('$password')) > > and it will encrypt it for you. > > hope this was what you meant, > Maxim Maletsky > > -----Original Message----- > From: ouldm@linux-at-business.com [mailto:ouldm@linux-at-business.com] > Sent: Friday, December 22, 2000 11:27 PM > To: php-general@lists.php.net > Subject: [PHP] How crypting passwords in DB > > Hello, > > I'm asking for how one can store crypted passwords in my database > (Postgres). > Actually I can see in clear the password of users authorized to access > my site. > > Thanks > Excuse me I don't longuer understand!! I'm new to all these area. Is the following command is valid for known users (i.e. those I create by hand then attribute them passwords in the database)? Or this is valid for any user visiting my site? For exemple: when he/she enter my site and click any things they find a pop-up for "name" and "password" then they are directly saved in my database? Excuse me.

« previous php.general (#31572) next »