Posts

Showing posts from January, 2021

Data Protection API (DPAPI) system in ASP.NET Core

Image
Over the year’s developers are struggling to secure web applications and their data. In the windows desktop application system, we have a Data Protection API (DPAPI) but not in the web applications but ASP.NET Core 2.0 release brought more goodies to developers in the realm of cryptography as Microsoft has added DPAPI to make it easier for developers to use strong cryptography to safeguard their data.  In this article, we will discuss What is the data protection system. How does the data protection system work. Why do we need the data protection system. I mplementation of the data protection system in ASP.NET Core project. Custom configuration of the data protection system.     What is data-protection system?      The data-protection system is a set of cryptography APIs used by the ASP.NET Core to encrypt/ decrypt the sensitive data. So, it is all about how to protect sensitive information that will be exposed to the attackers, ideally without exposing an...