I use MySQL in a shared server account and my worry is if a hacker monitors the connection between my application and that MySQL server.
Is that connection ciphered anyhow or is it raw data passing through (including at the connection time when Zeos TZConnection component informs the server what is the data base name, user name and password)?
If it's raw, how could I add some protection to it?
Actually it is not your
TZConnectionwhich speaks with the server. Instead, it communicates withlibmysql.dllwhich sends and receives data from theMysql server.To secure your connection to the server you can use
SSL. You will need 3 certificates:You can find information on how to generate them in this MySQL link.
Once you have them you need to setup
TZConnectionto indicateSSLshould be used as follows:More information about MySql and SSL can be found in this discussion in Zeos forums.