Language

Security

In this chapter, you'll learn:
Security issues for Web API.

  1. Authentication and Authorization

    By Mike Wasson|

    Gives a general overview of authentication and authorization in ASP.NET Web API.

  2. Basic Authentication

    By Mike Wasson|

    Describes using Basic Authentication in ASP.NET Web API.

  3. Forms Authentication

    By Mike Wasson|

    Describes using Forms Authentication in ASP.NET Web API.

  4. Integrated Windows Authentication

    By Mike Wasson|

    Describes using Integrated Windows Authentication in ASP.NET Web API.

  5. OAuth 2.0

    By Mike Wasson|

    Gives a brief high-level overview of OAuth 2.0 in the context of web APIs.

  6. Preventing Cross-Site Request Forgery (CSRF) Attacks

    By Mike Wasson|

    Describes the cross-site request forgery (CSRF) attack and how to implement anti-CSRF measures in ASP.NET Web API.

  7. Working with SSL

    By Mike Wasson|

    Shows how to use SSL with ASP.NET Web API, including using SSL client certificates.

  8. Securing ASP.NET Web APIs

    Dominick Baier of thinktecture talks about authentication and authorization in Web API. This talk explores the various options, and puts special focus on technologies like claims, SAML, OAuth2, Simple Web Tokens and delegation.

Web API Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET MVC:

Pro ASP.NET Web API

Pro ASP.NET Web API

by Tugberk Ugurlu, Alexander Zeitler

Designing Evolvable Web APIs with ASP.NET

Designing Evolvable Web APIs with ASP.NET

by Glenn Block, Pablo Cibraro, Pedro Felix, Howard Dierking, Darrel Miller

ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish

ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish

by Jamie Kurtz