Where should you store the credentials?

You are developing an ASP.NET MVC application that uses forms authentication to verify that the
user is logged in.
Authentication credentials must be encrypted and secure so no user identity is exposed.
You need to ensure that user credentials are persisted after users log on.
Where should you store the credentials? (Each correct answer presents a complete solution. Choose
all that apply.)

You are developing an ASP.NET MVC application that uses forms authentication to verify that the
user is logged in.
Authentication credentials must be encrypted and secure so no user identity is exposed.
You need to ensure that user credentials are persisted after users log on.
Where should you store the credentials? (Each correct answer presents a complete solution. Choose
all that apply.)

A.
In Session on the server

B.
In a cookie stored in the browser

C.
In ViewData in the application

D.
In TempData on the server



Leave a Reply 1

Your email address will not be published. Required fields are marked *