Pro ASP.NET Web API Security: Securing ASP.NET Web API

Front Cover
Apress, May 13, 2013 - Computers - 416 pages
ASP.NET Web API is a key part of ASP.NET MVC 4 and the platform of choice for building RESTful services that can be accessed by a wide range of devices. Everything from JavaScript libraries to RIA plugins, RFID readers to smart phones can consume your services using platform-agnostic HTTP.

With such wide accessibility, securing your code effectively needs to be a top priority. You will quickly find that the WCF security protocols you’re familiar with from .NET are less suitable than they once were in this new environment, proving themselves cumbersome and limited in terms of the standards they can work with.

Fortunately, ASP.NET Web API provides a simple, robust security solution of its own that fits neatly within the ASP.NET MVC programming model and secures your code without the need for SOAP, meaning that there is no limit to the range of devices that it can work with – if it can understand HTTP, then it can be secured by Web API. These SOAP-less security techniques are the focus of this book.

 

Contents

CHAPTER 1 Welcome to ASPNET Web API
1
CHAPTER 2 Building RESTful Services
13
CHAPTER 3 Extensibility Points
29
CHAPTER 4 HTTP Anatomy and Security
41
CHAPTER 5 Identity Management
81
CHAPTER 6 Encryption and Signing
103
CHAPTER 7 Custom STS through WIF
119
CHAPTER 8 Knowledge Factors
133
CHAPTER 10 Web Tokens
191
CHAPTER 11 OAuth 20 Using Live Connect API
227
CHAPTER 12 OAuth 20 from the Ground Up
251
CHAPTER 13 OAuth 20 Using DotNetOpenAuth
283
CHAPTER 14 TwoFactor Authentication
319
CHAPTER 15 Security Vulnerabilities
345
APPENDIX ASPNET Web API Security Distilled
375
Index
381

CHAPTER 9 Ownership Factors
163

Other editions - View all

Common terms and phrases

Bibliographic information