ASP.NET Web API Security Essentials by Rajesh Gunasundaram

ASP.NET Web API Security Essentials by Rajesh Gunasundaram

Author:Rajesh Gunasundaram [Gunasundaram, Rajesh]
Language: eng
Format: azw3, epub
Publisher: Packt Publishing
Published: 2015-11-27T05:00:00+00:00


Chapter 5. Enabling Basic Authentication using Authentication Filter in Web API

This chapter will show how to set an authentication scheme for individual controllers or actions using an Authentication filter that implements the HTTP Basic Authentication scheme and also discuss the advantages and disadvantages of using Basic Authentication.

In this chapter, we will learn the following topics:

Basic authentication with IIS

Basic authentication with custom membership

Basic authentication using an authentication filter

Setting an authentication filter

Implementing a Web API authentication filter

Setting an error result

Combining authentication filters with host-level authentication



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.