Tracking down action methods that need ValidateAntiForgeryToken using Structural Search and Replace

Published: 11/01/2019
Tracking down action methods that need ValidateAntiForgeryToken using Structural Search and Replace
Source: DOTNETKICKS.COM

As discussed in the previous post, we all know it is important to perform validations to prevent a Cross-Site Request Forgery (CSRF) attack against our application. Imagine inheriting a code base that has zero measures implemented? How would you find which action methods need a [ValidateAntiForgeryToken]?

Read more
Related news
Comment