Re: password in md5 to connect to mysql instead of clear password
| From: | Micah Stevens | Date: | Sat, 26 Feb 2005 23:11:26 +0000 |
| Subject: | Re: password in md5 to connect to mysql instead of clear password | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38690@lists.php.net to get a copy of this message | ||
Well, yes, but as my key is never transmitted from client to server, it's
safer. ;)
I encrypt a connect request with my private key, which is can be unencrypted
by the public key, but the server knows it's me because only the private key
can make the encryption. The message is sent over the network, but none of
the tools to create it or read it are.
-Micah
On Friday 25 February 2005 08:59 pm, Jason Wong wrote:
> On Saturday 26 February 2005 04:16, Micah Stevens wrote:
> > I was just thinking that a better way to do this is with a
> > public/private key set. Then it would be secure, but as someone else
> > mentioned, you'd have to patch the source to make it work.
>
> How would it be safer? Correct me if I'm wrong: if I have access to your
> key then I can connect.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-db
> ------------------------------------------
> New Year Resolution: Ignore top posted posts