Encrypted connectionString

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
i-co
Posts: 1
Joined: Mon 19 May 2008 05:14

Encrypted connectionString

Post by i-co » Mon 19 May 2008 06:49

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

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Mon 19 May 2008 09:09

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.

Post Reply