ASP.Net Core Identity : Credential Obfuscation

Dan Lee 0 Reputation points
2023-09-22T01:53:45.9833333+00:00

I am new to ASP.Net Core Identity and new to Encryption.

I followed the article @ https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0&tabs=visual-studio

I created a new Web App using ASP.NET Core Web App template. with Authentication type as Individual User Accounts.

After the project is created, i ran Update-Database

I then Ran the app and registered a new user with following details

Input.Email: ******@somedomain.com

Input.Password: Hello@2023

Input.ConfirmPassword: Hello@2023

When i click Register in the form ""Create new Account", I see that email and password is sent as plain text without an encryption. Observed this @ Payload section of Network tab in chrome.

Question : Do i need to write code to do client-side encryption OR need to setup some configuration so that encryption is done without writing any code.

Developer technologies ASP.NET ASP.NET Core
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2023-09-22T15:23:16.12+00:00

    The login page (as should the whole site) needs to use ssl (https) to be secure. The password is hashed in the database and the cookie is encrypted.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.