I use SubSonic v.3 for my data access and I want to know how can I encryption my connection string in App.config used by SubSonic.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This has nothing to do with Subsonic, nor is it in any way different for Subsonic vs. other providers.
It’s a .NET feature – you can encrypt parts of your
app.configorweb.configin such a way that the data becomes unreadable to the human eye, but can still be used by the .NET runtime to find the settings.Check out Jon Galloway’s blog post on how to encrypt parts of your
app.configin a .NET application.