I have below connection strings in web config file:
<connectionStrings> <add name="ConString2" connectionString="Data Source=testdb;Persist Security Info=True;User ID=test;Password=test;Unicode=True;" providerName="System.Data.OracleClient"/> <add name="ConString3" connectionString="Data Source=testdb;Persist Security Info=True;User ID=test;Password=test;Unicode=True;" providerName="Oracle.DataAccess.Client"/> </connectionStrings>
I want to keep connection string in encrypted format and when I use to fetch the data from database I want to decrypt connection and connects to DB.