Cross Site Request Forgery

Posted By : Bipul Kumar Tiwari,

Cross- site request Forgery ( CSRF) is an attack where attacker to trick the victim into making an unintentional request considering it as an authentic request. This can be done via a URL, image load, XMLHttpRequest, etc. and can result in exposure of data or unintended code execution.

Example:

How to fix CSRF:



Note: In VS13, (Web Application Form) the site.master.cs will automatically include the XSRF/CSRF code in the Page_Init and Master_Page_PreLoad method

Page_Init:

XSRF Attacks

master_Page_PreLoad:

XSRF Attacks

Related Articles

 

About the Author

author
Its me BIPUL who is logically minded creative at heart , a good communicator , a self taught full stack developer. I constantly focuses on my thinking , reading , collecting and creating my work in a order to enhance my skills.

I discover new dimensions for growing bussiness with a proven record in creating database and programming. I have a strong technical skills as well as strong interpersonal skills. Read more...
 

Browse By Category

Popular Articles