2
Answers

Implement Cross Site Request Forgery

Aniket Rana

Aniket Rana

4y
1k
1
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)