I'd like to begin a new project and one of the first problems I've figured out is the security of my mysql connection data.
I want to know if it's possible to configure the software to choose a database server; for that reason it's necessary to store the connection informations (user, password, databasename) in some kind of file (xml, bin, ...) but thats not really safe and could be viewed by everyone due to lack of encryption.
Is there an easy way to protect these sensitive informations or do I have to write my own encryption mechanism for that ?
In case that I have to write my own one, is there a guideline to get it right?