Re: Geting current user pasword.

2010-06-04 Thread Johan De Meersman
On Thu, Jun 3, 2010 at 8:44 PM, Michael Dykman mdyk...@gmail.com wrote: address, there are privacy regulations which prohibit the practice. I fully agree with you, but as a matter of pedantry I would like to point out that the privacy regulations you speak of are not applicable outside of your

Geting current user pasword.

2010-06-03 Thread Guillermo
Hello, I need to get the user and password from the current session. I found the user() function, wich gets the username, is there anything like that to get the password ? Thx Guillermo __ InformaciĆ³n de ESET NOD32 Antivirus, versiĆ³n de la base de firmas de virus 5170

Re: Geting current user pasword.

2010-06-03 Thread Dan Nelson
In the last episode (Jun 03), Guillermo said: Hello, I need to get the user and password from the current session. I found the user() function, wich gets the username, is there anything like that to get the password ? Nope. I don't think the server even sees the password during

Re: Geting current user pasword.

2010-06-03 Thread Michael Dykman
It goes strongly against best practices to store user passwords in the clear. If you are storing any personal information at all, information as trivial as the association as a name and an email address, there are privacy regulations which prohibit the practice. For some trivial app, with user

Re: Geting current user pasword.

2010-06-03 Thread Jim Lyons
You mean the mysql password of the user? No, you can't get that, even the server can't get it, at least not the clear-text version. When you create/change your password an encrypted version is stored in the mysql.user table along with the hostname. If you have SELECT permission on that table,