Page 1 of 1

Encrypted connectionString

Posted: Mon 19 May 2008 06:49
by i-co
Hi all.

I'd like encryption connectionString , who using AspNetOracleMembershipProvider
for access into databases authorizetd users.
How I have got to use AspNetOracleMembershipProvider with encryption connectionString?

Sample of my web.config :


providerName="CoreLab.Oracle"/>


Best regards

Posted: Mon 19 May 2008 09:09
by Alexey.mdr
Well, it's quite easy.
You have got the following connection string

Code: Select all

<add name="OracleServices" 
connectionString="AQAAANCMnd8BFdERjHoAwE ... "
You don't need to worry about connectionString attribute which is encrypted. You only need the name of the connection string. In your example that is OracleServices.
From now on wherever you want to use the encrypted connection string you just need to specify ConnectionString = “OracleServices”.
Hope that helps.