Click here to Skip to main content
15,890,438 members
Articles / Web Development / ASP.NET / ASP.NET Core

Preventing CSRF Attacks using ASP.NET Core, JavaScript and Angular

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
21 Mar 2021CPOL11 min read 13.9K   9  
How to prevent Cross-Site Request Forgery attacks in ASP.NET Core, JavaScript and Angular
This article demonstrates Cross-Site Request Forgery attacks and how to prevent them in ASP.NET Core, JavaScript and Angular.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
Egypt Egypt
Mohammad Elsheimy is a developer, trainer, and technical writer currently hired by one of the leading fintech companies in Middle East, as a technical lead.

Mohammad is a MCP, MCTS, MCPD, MCSA, MCSE, and MCT expertized in Microsoft technologies, data management, analytics, Azure and DevOps solutions. He is also a Project Management Professional (PMP) and a Quranic Readings college (Al-Azhar) graduate specialized in Quranic readings, Islamic legislation, and the Arabic language.

Mohammad was born in Egypt. He loves his machine and his code more than anything else!

Currently, Mohammad runs two blogs: "Just Like [a] Magic" (http://JustLikeAMagic.com) and "مع الدوت نت" (http://WithdDotNet.net), both dedicated for programming and Microsoft technologies.

You can reach Mohammad at elsheimy[at]live[dot]com

Comments and Discussions