Connection String and Entlib DAAB
Database
1
Posts
1
Posters
0
Views
1
Watching
-
I am using .net 1.1 /sql server 2000, recently moved from the old Application block to Entlib data application block June 2005. In all our applications we store the connection string in web.config file using custom encryption (VB dll). ex: we used to decrypt the same and pass the conn string to sqlhelper. The new DAAB provides only : Dim db As Database = DatabaseFactory.CreateDatabase() without an option to pass connection string, i can use the dataConfiguration.config to store connection string but how to encrypt and decrypt. I cant use clear text for connection strings any other encryption methodology also cant be used. Please help i am unable to find a solution, code snippets are very much needed.