Protecting hard coded strings from decompilation
<p>I am writing an application that needs to connect to a MySQL database on an external server. I need a "hard coded" string to connect to the database which contains user and password details. This is an issue when people can decompile my application to view almost exactly the code that I originally typed, which could give them direct access to my database.</p>

<p>Is there any way of preventing people from viewing these strings with code? I'd prefer not to use obfuscators.</p>

<p>Many thanks,
Steve</p>
