Vidyalelo
C# Programming · Q42

ASP.NET and Web Development with C Sharp

Programming · C# Programming · question 42

Q42

What is the purpose of the AntiForgeryToken in ASP.NET MVC?

A.
To handle authentication
B.
To encrypt sensitive data
C.
To manage session data
D.
To prevent cross-site request forgery (CSRF) attacks
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board