I have written an application for a client the application has a SQL server 2000 backend and I have written the application in VB.NET 2005. It has been requested that they must be able to encrypt the configuration file, they have requested that the user may enter all connection details easily at point of installation, these details must then be encrypted.
They have also stated that they must be able to edit the connectionString at any time, but this option must not be easily accessible to any users, i.e only systems engineers, there are a lot of machines so this option needs to be as quick as possible.
My Initial thoughts are to create a seperate .EXE that will be launched as a custom action at runtime allowing saving of details (and encryption), this application would be in the same directory as the main application, and would look for a *.config in this directory (I guess this application could be used for changing connectionstrings on other applications aswell if required).
I am just wondering whether this seems a reasonable option, I have trawled the web, but havent seen anything similar, this worries me as maybe there is a better way to do this, or if has anyone come across any examples that satsify my clients request please let me know.
I have already started coding this but would be interested to get others feedback.