Cargando…

ASP.NET web API security essentials : take the security of your ASP.NET web API to the next level using some of the most amazing security techniques around /

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Gunasundaram, Rajesh (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Setting up a Browser Client; ASP.NET Web API security architecture; Setting up your browser client; Implementing Web API lookup service; Adding a model; Adding a controller; Consuming the Web API using JavaScript and jQuery; Getting a list of contacts; Getting a contact by ID; Running the application; Authentication and authorization; Authentication; Authorization; Implementing authentication in HTTP message handlers; Setting the principal
  • Using the [Authorize] attributeGlobal authorization filter; Controller level authorization filter; Action level authorization filter; Custom authorization filters; Authorization inside a controller action; Summary; Chapter 2: Enabling SSL for ASP.NET Web API; Enforcing SSL in a Web API controller; Using client certificates in Web API; Creating an SSL Client Certificate; Configuring IIS to accept client certificates; Verifying Client Certificates in Web API; Summary; Chapter 3: Integrating ASP.NET Identity System with Web API; Creating an Empty Web API Application
  • Installing the ASP.NET Identity NuGet packagesSetting up ASP.NET Identity 2.1; ASP.NET Identity; Defining Web API Controllers and methods; Testing the application; Summary; Chapter 4: Securing Web API Using OAuth2; Hosting OWIN in IIS and adding Web API to the OWIN pipeline; Individual User Account authentication flow; Sending an unauthorized request; Get an access token; Send an authenticated request; Summary; Chapter 5: Enabling Basic Authentication using Authentication Filter in Web API; Basic authentication with IIS; Basic authentication with custom membership
  • Basic authentication using an authentication filterSetting an authentication filter; Action-level authentication filter; Controller-level authentication filter; Global-level authentication filter; Implementing a Web API authentication filter; Setting an error result; Combining authentication filters with host-level authentication; Summary; Chapter 6: Securing a Web API using Forms and Windows Authentication; Working of Forms authentication; Implementing Forms authentication in Web API; What is Integrated Windows Authentication?
  • Advantages and disadvantages of using the Integrated Windows Authentication mechanismConfiguring Windows Authentication; Difference between Basic Authentication and Windows authentication; Enabling Windows authentication in Katana; Summary; Chapter 7: Using External Authentication Services with ASP.NET Web API; Using OWIN external authentication services; Creating an ASP.NET MVC Application; Implementing Facebook authentication ; Implementing Twitter authentication; Implementing Google authentication; Implementing Microsoft authentication; Discussing authentication; Summary