How to hide userid/password in db connection string?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a db connection that uses a userid/passwd that will remain static and
the application user does not need to know/change it. However, by hardcoding
it, the plain text is available both in the Sourcecode and likely easily
parsed out of the binary.

For reference, the application is a service running in the background. It
has no UI.

So, what are some solutions to this problem? Where should the
userid/password be stored so that it is secure?

Thanks.
 
Back
Top