troubleshooting Question

Membership / Role provider with encrypted database connection strings

Avatar of Andy Green
Andy GreenFlag for United Kingdom of Great Britain and Northern Ireland asked on
ASP.NET.NET ProgrammingWeb Languages and StandardsDatabases
2 Comments1 Solution289 ViewsLast Modified:
Hi Experts

 I'm using CipherLite.NET to encrypt my database strings, and it works well in my stored procs. The trouble is the Membership and Roles providers don't like the encrypted stings (Obviously) is there a way to pass the code that decrypts into these providers. (I have a class where I pass the key and it returns the decrypted string)

 I have used CipherLite.NET because the site gets deployed to multiple clubs and I found that using the built in encryption requires the machine key so I cant pre encrypt before I deploy. Unless there is a way to use the built in encryption using my own key.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros