Wednesday, September 08, 2004

Which one is best DPAPI or .NET Framework classes to encrypt the sensitive data in ASP.NET?

Read this Shawn blog  to understand why DPAPI is best instead of .NET Cryptography classes.

We can use Data Protection API (DPAPI) to encrypt sensitive data. It is part of Windows 2000 and later operating systems.

To know more about DPAPI ; check the following links.

1. http://support.microsoft.com/default.aspx?scid=kb;en-us;309408

2. Windows Data Protection

3. How To: Use DPAPI (Machine Store) from ASP.NET

4. How To: Use DPAPI (User Store) from ASP.NET with Enterprise Services
5. How To: Store an Encrypted Connection String in the Registry

1 comment:

Rupreet Singh said...

Yea, DPAPI is good. It really makes your work easier; otherwise you have to keep track of all the encryption keys and store them in safe place. :)