title: ValidateAntiForgeryToken in WebForms Application
body: <p>I have done some reading about the use of <code>ValidateAntiForgeryToken</code> to prevent XSRF/CSRF attacks. However what I have seen seems to relate only to MVC.</p>
  
  <p>These are the articles I've seen:</p>
  
  <p><a href="https://stackoverflow.com/questions/13621934/validateantiforgerytoken-purpose-explanation-and-example">ValidateAntiForgeryToken purpose, explanation and example</a></p>
  
  <p><a href="http://prideparrot.com/blog/archive/2012/7/securing_all_forms_using_antiforgerytoken" rel="noreferrer">CSRF and AntiForgeryToken</a></p>
  
  <p><a href="https://docs.microsoft.com/en-us/aspnet/mvc/overview/security/xsrfcsrf-prevention-in-aspnet-mvc-and-web-pages" rel="noreferrer">XSRF/CSRF Prevention in ASP.NET MVC and Web Pages</a></p>
  
  <p>How can I implement this or something similar in a WebForms Application?</p>