Hi all,
I hope someone can help, here is a summary of my problem;
I have an VB 2005 app that runs once a day which connects to a Class 4 Db. In the app I have an App.config file which has the connectionstring and necessary passwords it needs to run. I have code that encrypts the Appsettings in the App.config file but my problem is that once I do a fresh install the config file does not get encrypted until the app runs the first time. As the app can only runs after 12.00am to keep reporting right, there is the possibility of leaving the passwords and connectionstring in plain text for a number of hours this is a BIG security risk.
Can anyone tell me is it possible to build a custom install to encrypt the config file straight after installation and if so how.
Any help would be greatly appreciated.
Niall
I hope someone can help, here is a summary of my problem;
I have an VB 2005 app that runs once a day which connects to a Class 4 Db. In the app I have an App.config file which has the connectionstring and necessary passwords it needs to run. I have code that encrypts the Appsettings in the App.config file but my problem is that once I do a fresh install the config file does not get encrypted until the app runs the first time. As the app can only runs after 12.00am to keep reporting right, there is the possibility of leaving the passwords and connectionstring in plain text for a number of hours this is a BIG security risk.
Can anyone tell me is it possible to build a custom install to encrypt the config file straight after installation and if so how.
Any help would be greatly appreciated.
Niall