By Rajesh Gunasundaram

Take the safety of your ASP.NET net API to the subsequent point utilizing probably the most outstanding safeguard innovations around

About This Book

  • This publication has been thoroughly up-to-date for ASP.NET net API 2.0 together with the recent positive aspects of ASP.NET net API akin to Cross-Origin source Sharing (CORS) and OWIN self-hosting
  • Learn quite a few recommendations to safe ASP.NET net API, together with easy authentication utilizing authentication filters, types, home windows Authentication, exterior authentication providers, and integrating ASP.NET's identification system
  • An easy-to-follow consultant to let SSL, hinder Cross-Site Request Forgery (CSRF) assaults, and let CORS in ASP.NET net API

Who This e-book Is For

This publication is meant for somebody who has past wisdom of constructing ASP.NET net API functions. sturdy operating wisdom and event with C# and.NET Framework are must haves for this book.

What you'll Learn

  • Secure your internet API via permitting Secured Socket Layer (SSL)
  • Manage your application's person bills by way of integrating ASP.NET's identification system
  • Ensure the safety of your net API via imposing simple authentication
  • Implement kinds and home windows authentication to safe your internet API
  • Use exterior authentication corresponding to fb and Twitter to authenticate a request to an internet API
  • Protect your net API from CSRF attacks
  • Enable CORS on your net API to explicitly enable a few cross-origin requests whereas rejecting others
  • Fortify your internet API utilizing OAuth2

In Detail

This publication accommodates the hot beneficial properties of ASP.NET internet API 2 that can assist you to safe an ASP.NET net API and make a well-informed choice whilst selecting the best defense mechanism in your defense requirements.

We begin by means of exhibiting you ways to establish a browser patron to make use of ASP.NET net API companies. We then hide ASP.NET net API's defense structure, authentication, and authorization that will help you safe an online API from unauthorized clients. subsequent, you'll find out how to use SSL with ASP.NET internet API, together with utilizing SSL consumer certificate, and combine the ASP.NET id procedure with ASP.NET internet API.

We'll provide help to safe an internet API utilizing OAuth2 to authenticate opposed to a club database utilizing OWIN middleware. it is possible for you to to take advantage of neighborhood logins to ship authenticated requests utilizing OAuth2. We additionally clarify tips on how to safe an internet API utilizing kinds authentication and the way clients can log in with their home windows credentials utilizing built-in home windows authentication. you are going to come to appreciate the necessity for exterior authentication companies to allow OAuth/OpenID and social media authentication. we will then assist you enforce anti-Cross-Site Request Forgery (CSRF) measures in ASP.NET net API.

Finally, you'll find the best way to let Cross-Origin source Sharing (CORS) on your internet API application.

Style and approach

Each bankruptcy is devoted to a particular safeguard process, in a task-based and easy-to-follow means. lots of the chapters are observed with resource code that demonstrates the step by step instructions of enforcing the method, and contains an evidence of the way each one process works.

Show description

Read or Download ASP.NET Web API Security Essentials PDF

Similar application development books

New PDF release: Electronic Healthcare Information Security: 53 (Advances in

The adoption of knowledge and verbal exchange applied sciences (ICT) in healthcare is pushed via the necessity to include expenses whereas maximizing caliber and potency. besides the fact that, ICT adoption for healthcare details administration has introduced far-reaching results and implications at the spirit of the Hippocratic Oath, sufferer privateness and confidentiality.

Rafal Kuc,Marek Rogozinski's ElasticSearch Server PDF

In DetailElasticSearch is an open resource seek server equipped on Apache Lucene. It used to be equipped to supply a scalable seek resolution with integrated help for close to real-time seek and multi-tenancy. leaping into the realm of ElasticSearch by means of establishing your individual customized cluster, this ebook will enable you create a quick, scalable, and versatile seek resolution.

Instant PHPStorm Starter by Wlodzimierz Gajda PDF

In DetailPHPStorm is a latest built-in improvement setting for the Hypertext Preprocessor language. PHPStorm offers an clever editor for Hypertext Preprocessor code, HTML, and JavaScript with on-the-fly code research and automatic refactoring for personal home page and JavaScript code. PHPStorm's code of entirety helps Hypertext Preprocessor five. four, together with namespaces, closures, characteristics, and brief array syntax.

Download e-book for iPad: Progressive Web Apps: Der Sprung ins nächste App-Zeitalter by Marcel Peters

Cellular Webseiten waren immer das hässliche Entlein in der schönen neuen Welt der Apps. Auch responsives Webdesign, fähige cellular Browser und App-ähnliche Oberflächen haben an ihrer Akzeptanz bei den Benutzern nichts ändert. Die Bedienung im Browser ist einfach zu umständlich und ohne Netzverbindung läuft schon mal gar nichts.

Extra info for ASP.NET Web API Security Essentials

Sample text

Download PDF sample

ASP.NET Web API Security Essentials by Rajesh Gunasundaram

by James

Rated 4.80 of 5 – based on 35 votes