You are here: Re: mysql_connect and encrypted password « PHP Programming Language « IT news, forums, messages
Re: mysql_connect and encrypted password

Posted by Shmuel on 10/08/07 18:49

Thanks for your answer.

What I mean, though, is that I need to connect to the database
with an password that is encrypted, like this:
mysql_connect('host', 'user',
'5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8');

I store that password in database, and want to have it encrypted.
I am not talking about passwords that are in the mysql table,
but instead a table of my own that has the user information.

So if somebody gets into my db server, he wont see the passwords as
they are,
but instead encrypted.



On Oct 8, 5:49 pm, Michael Fesser <neti...@gmx.de> wrote:
> .oO(Shmuel)
>
> >Is it possible to give to mysql_connect an encrypted (md5 or sha1)
> >password?
> >If not is there a workaround?
>
> >I store passwords for users in database and don't want to use plain
> >text passwords.
>
> The passwords in the MySQL user database are already encrypted. Have a
> look at the PASSWORD() function.
>
> Micha

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация