In my experience, itโs hard to hide such things from your internal developers. Even the configuration configuration encryption in webconfig will still be displayed if your developers simply stepped over the code ...
I would suggest that if you did this, you could create a private constant string in the code for your DB string, and then use Dotfuscator or the like in a compiled application. Obviously, the source code itself must also be encrypted, otherwise your developers would not be able to access it.
Alleng
source share