Common Misunderstandings in C# and .NET – Failing to Secure Your Secrets Properly

In this section, we will examine how to manage sensitive information within the .NET development environment, with an emphasis on safeguarding secrets utilized during development. These secrets are sensitive data that are essential in the development process. Imagine a situation where two developers are collaborating on a project, each needing their own unique passwords to access the database. It's crucial that they avoid sharing these...

Common Misunderstandings in C# and .NET – Inadequate Password Hashing

Let’s delve into a common security issue where developers neglect to hash user passwords correctly. It's essential to grasp the importance of hashing. Imagine a user registers by entering their username and password. During this process, we save the username and password in plain text in our database. If the database gets hacked, the attacker can access Henry's password and potentially steal his account. How can we address this problem? One...