Reputation: 182
I'm thinking if it's possible to implement Rijndael algorithm so that it can encrypt the connection string in the app.config file.
For example if I will run the program at first it will automatically change the connection string to an encrypted string.
Upvotes: 0
Views: 784
Reputation: 109822
Rather than doing this yourself, you could use "Protected Configuration" to encrypt your configuration file.
Although this is primarily designed for use with ASP.Net, you can also use it for Windows Forms (and other) applications.
And here's a more recent article.
Upvotes: 2