MCQs > IT & Programming > ASP.NET > How can an MVC View be protected from CSRF?

ASP.NET MCQs

How can an MVC View be protected from CSRF?

Answer

Correct Answer: @Html.AntiForgeryToken() in View and ValidateAntiForgeryToken attribute on controller action

Explanation:

Note: This Question is unanswered, help us to find answer for this one

ASP.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

ASP.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it