Aniket Rana

Aniket Rana

  • NA
  • 979
  • 13.3k

Implement Cross Site Request Forgery

Feb 19 2020 10:59 PM
I want to implement Cross-Site Request Forgery attack prevention in asp.net webform 
 
Presently I am using, AntiForgery.Validate(); in Page_preinit and submit event should I use this in other web forms also or use in only master page so that this functionality applicable throughout the application.
 
What should I do? give me proper solution in it. 
 
When I validate web form or any specific event at that time what can I do to protect my web 
application  
 
Thanks in advance 

Answers (2)