i want to secure a connectionstring so it is not possible to "read" it out for any purpose.
at the moment i'm doing it like this and i know it is like the Windows Firewall, open in all directions...
private static string connStr = "server=localhost;user=MySuperSecretUser;database=MySuperSecretDatabase;port=3306;password=MySuperSecretPassword;sslMode=none;";
private static MySqlConnection conn = new MySqlConnection(connStr);
private static MySqlConnection conn2 = new MySqlConnection(connStr);
does anybody know how i can secure it so nobody is able to help me out here?