Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Anti-Forgery Tokens using MVC, Web API and AngularJS

$
0
0

Hi All,

There are a couple of super articles on thwarting CRSF attacks that I've found:

http://blog.novanet.no/anti-forgery-tokens-using-mvc-web-api-and-angularjs/

http://www.bitwisejourneys.com/extending-the-mvc-anti-forgery-token-concept-to-work-with-asp-net-web-api-and-angularjs/

Both of these solutions rely on System.Web.Helpers.AntiForgery. I'm trying to build this solution into a new ASP.NET 5 web application that has a web api w/Angular as the front end. I'm just not finding where AntiForgery has gone now that System.Web doesn't contain Helpers. Any clues?

Thanks,
-Brian


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>