Question

Just looking for the first step basic solution here that keeps the honest people out.

Thanks, Mike

Was it helpful?

Solution

This might help you along the way:

http://msdn.microsoft.com/en-us/library/aa302403.aspx

http://msdn.microsoft.com/en-us/library/aa302406.aspx

The articles are aimed at ASP.NET but the principles are the same.

OTHER TIPS

The second piece of the puzzle is detecting an unencrypted connection string, encrypting it, and writing it back out to the config file. Writing to config files located in your exe dir is generally a very bad idea, but can be very useful during development. The pros and cons are very well described here. Be sure to read all the comments.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top