Click here to Skip to main content
15,884,176 members
Articles / .NET / .NET4.5

Storing Your Connection String Password in SecureString

Rate me:
Please Sign up or sign in to vote.
4.90/5 (7 votes)
23 Jun 2012CPOL1 min read 28.4K   12  
This trick can provide some extra protection for your passwords used in connection strings against runtime attacks.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Canada Canada
Kamran Bilgrami is a seasoned software developer with background in designing mission critical applications for carrier grade telecom networks. More recently he is involved in design & development of real-time biometric based security solutions. His areas of interest include .NET, software security, mathematical modeling and patterns.

He blogs regularly at http://WindowsDebugging.Wordpress.com

Comments and Discussions