This is a discussion on Does the password in the ConnectionString travel encrypted? within the MySQL Database forums, part of the Database Forums category; Hello, I have a very simple question I could find nothing about. I am using Connector/Net for a distributed ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I have a very simple question I could find nothing about. I am using Connector/Net for a distributed application involving a DB. The question is: when I connect to a database with a ConnectionString like "database=foo; server=220.40.231.2; uid = root; persist security info= false; pwd=blabla", does my root password travel in clear-text? AFAIU, the DB server should first send me its public key, with which I would encrypt my root passord. Does this really happen under the hood, or is my password travelling in clear? I did notice the "encrypt=true" option in the connection string, but it does not seem appropriate, because I don't need to encrypt all communication with the DB server -- just the password. Thank you very much for any reply. Maurizio |