Storing your connection string password in SecureString

Hackers always find string data type interesting as described in my article here. SecureString provided some level of protection but it was tricky to use this class in context of building a connection string. As we all know, Connection string contains database credentials and one of the key field there is Password that need to be protected. With .NET 4.5, things have gotten better. Read my tip for codeproject here for more details.

Until next happy debugging.


This entry was posted in .NET, CodeProject. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s