Aniket Rana

Aniket Rana

  • 1.2k
  • 913
  • 5.2k

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 

Brought to you by:

Answers (2)