RE: [PHP-DB] Passwords

2006-03-12 Thread JeRRy
snip Sure, mysql.com and seasrch for crypt. Not sure why this is asked on a PHP list since it has nothing to do with PHP. b) every language has a crypt functionThen I guess it's okay to have crypt questions/answers on every language list. /snip quote Then I guess

Re: [PHP-DB] Passwords

2006-03-10 Thread Dusty Bin
Kosala Atapattu wrote: Hi Ben, I have created a user login/registration page. As of now I am using a MySQL database to store the info of the user. To validate the user I also have the password stored in the same DB. I was wondering if there is a way that I can store the password in

Re: [PHP-DB] Passwords

2006-03-10 Thread Michael Crute
On 3/10/06, Dusty Bin [EMAIL PROTECTED] wrote: One thing to remember, is that the password function is MySQL's way of storing passwords for MySQL use, and that may change from one release of MySQL to another. This happened very recently. If you want to store application passwords, it is

RE: [PHP-DB] Passwords

2006-03-10 Thread Dwight Altman
:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 7:07 PM To: php-db@lists.php.net Subject: Re: [PHP-DB] Passwords Bastien Koert wrote: Not PHP? Correct, not PHP. most DB engines have built in encryption funtions for use in their INSERT (IE store the password in the DB so that it is encrypted

Re: [PHP-DB] Passwords

2006-03-10 Thread Micah Stevens
On Friday 10 March 2006 7:09 am, Michael Crute wrote: On 3/10/06, Dusty Bin [EMAIL PROTECTED] wrote: One thing to remember, is that the password function is MySQL's way of storing passwords for MySQL use, and that may change from one release of MySQL to another. This happened very

Re: [PHP-DB] Passwords

2006-03-10 Thread Michael Crute
On 3/10/06, Micah Stevens [EMAIL PROTECTED] wrote: On Friday 10 March 2006 7:09 am, Michael Crute wrote: On 3/10/06, Dusty Bin [EMAIL PROTECTED] wrote: One thing to remember, is that the password function is MySQL's way of storing passwords for MySQL use, and that may change from one

Re: [PHP-DB] Passwords

2006-03-10 Thread JupiterHost.Net
Dwight Altman wrote: Sure, mysql.com and seasrch for crypt. Not sure why this is asked on a PHP list since it has nothing to do with PHP. b) every language has a crypt function Then I guess it's okay to have crypt questions/answers on every language list. Sure whatever, its just this

Re: [PHP-DB] Passwords

2006-03-09 Thread JupiterHost.Net
Benjamin Stambaugh wrote: Hi, I have created a user login/registration page. As of now I am using a MySQL database to store the info of the user. To validate the user I also have the password stored in the same DB. I was wondering if there is a way that I can store the password in the

Re: [PHP-DB] Passwords

2006-03-09 Thread Bastien Koert
Not PHP? http://us3.php.net/crypt Bastien From: JupiterHost.Net [EMAIL PROTECTED] To: php-db@lists.php.net php-db@lists.php.net Subject: Re: [PHP-DB] Passwords Date: Thu, 09 Mar 2006 07:23:07 -0600 Benjamin Stambaugh wrote: Hi, I have created a user login/registration page. As of now I

Re: [PHP-DB] Passwords

2006-03-09 Thread Bastien Koert
Merely commenting that its not only DBs that can do the encrypting. Bastien From: JupiterHost.Net [EMAIL PROTECTED] To: php-db@lists.php.net Subject: Re: [PHP-DB] Passwords Date: Thu, 09 Mar 2006 19:07:11 -0600 Bastien Koert wrote: Not PHP? Correct, not PHP. most DB engines have built

RE: [PHP-DB] Passwords

2006-03-09 Thread Kosala Atapattu
Hi Ben, I have created a user login/registration page. As of now I am using a MySQL database to store the info of the user. To validate the user I also have the password stored in the same DB. I was wondering if there is a way that I can store the password in the DB so that it is

Re: [PHP-DB] Passwords

2006-03-08 Thread Larry E. Ullman
I have created a user login/registration page. As of now I am using a MySQL database to store the info of the user. To validate the user I also have the password stored in the same DB. I was wondering if there is a way that I can store the password in the DB so that it is encrypted or

RE: [PHP-DB] Passwords

2006-03-08 Thread Bastien Koert
I tend to use a hash value (like MD5) to one way encrypt it... If you combine it with a salt value (some random string that is consistent in the app) then is reasonably secure from being hacked...ex. $salt = '1234567890'; $pass = md5($salt.$_POST['password']); bastien

Re: [PHP-DB] Passwords in MySQL for a PHP site

2004-10-03 Thread John Holmes
Dylan Barber wrote: I am building a security script and am wondering what should I do to enable a user to recover his/her password if they forget it. I currently use PASSWORD() when inserting the password into the database so I don't know how to send them a unhashed string. Can someone direct me

RE: [PHP-DB] Passwords in MySQL for a PHP site

2004-10-03 Thread Dylan Barber
Yeah I read that after I had posted this -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED] Sent: Sunday, October 03, 2004 7:04 AM To: Dylan Barber Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Passwords in MySQL for a PHP site Dylan Barber wrote: I am building a security

Re: [PHP-DB] Passwords

2002-04-23 Thread Achilles Maroulis
Thanx guys!! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php