Re: Help with programming for MySQL encrypted passwords?
Posted by: Mark Matthews
Date: November 02, 2004 10:33AM

None of the clients pass the password in clear text.

If you're writing an application, you _shouldn't_ be using the passwords that are used for the database (in fact the documentation actually discourages this!) for your application's authentication and authorization mechanisms.

Use your own password scheme, hopefully using the SHA1 or MD5 functionality built into MySQL. Do _not_ use the PASSWORD() function, as that's really supposed to be used only for MySQL grant tables, and is subject to change functionality at any time.

Options: ReplyQuote


Subject
Written By
Posted
October 28, 2004 09:18AM
October 28, 2004 03:32PM
Re: Help with programming for MySQL encrypted passwords?
November 02, 2004 10:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.