ASP.NET Web API Security Essentials

Publisher : Packt Publishing Ltd

ISBN-13 : 1785883224

Page : 152 pages

Rating : 4.5/5 from 224 voters

Take the security of your ASP.NET Web API to the next level using some of the most amazing security techniques around About This Book This book has been completely updated for ASP.NET Web API 2.0 including the new features of ASP.NET Web API such as Cross-Origin Resource Sharing (CORS) and OWIN self-hosting Learn various techniques to secure ASP.NET Web API, including basic authentication using authentication filters, forms, Windows Authentication, external authentication services, and integrating ASP.NET's Identity system An easy-to-follow guide to enable SSL, prevent Cross-Site Request Forgery (CSRF) attacks, and enable CORS in ASP.NET Web API Who This Book Is For This book is intended for anyone who has previous knowledge of developing ASP.NET Web API applications. Good working knowledge and experience with C# and.NET Framework are prerequisites for this book. What You Will Learn Secure your web API by enabling Secured Socket Layer (SSL) Manage your application's user accounts by integrating ASP.NET's Identity system Ensure the security of your web API by implementing basic authentication Implement forms and Windows authentication to secure your web API Use external authentication such as Facebook and Twitter to authenticate a request to a web API Protect your web API from CSRF attacks Enable CORS in your web API to explicitly allow some cross-origin requests while rejecting others Fortify your web API using OAuth2 In Detail This book incorporates the new features of ASP.NET Web API 2 that will help you to secure an ASP.NET Web API and make a well-informed decision when choosing the right security mechanism for your security requirements. We start by showing you how to set up a browser client to utilize ASP.NET Web API services. We then cover ASP.NET Web API's security architecture, authentication, and authorization to help you secure a web API from unauthorized users. Next, you will learn how to use SSL with ASP.NET Web API, including using SSL client certificates, and integrate the ASP.NET Identity system with ASP.NET Web API. We'll show you how to secure a web API using OAuth2 to authenticate against a membership database using OWIN middleware. You will be able to use local logins to send authenticated requests using OAuth2. We also explain how to secure a web API using forms authentication and how users can log in with their Windows credentials using integrated Windows authentication. You will come to understand the need for external authentication services to enable OAuth/OpenID and social media authentication. We'll then help you implement anti-Cross-Site Request Forgery (CSRF) measures in ASP.NET Web API. Finally, you will discover how to enable Cross-Origin Resource Sharing (CORS) in your web API application. Style and approach Each chapter is dedicated to a specific security technique, in a task-based and easy-to-follow way. Most of the chapters are accompanied with source code that demonstrates the step-by-step guidelines of implementing the technique, and includes an explanation of how each technique works.

More Books:

ASP.NET Web API Security Essentials
Language: en
Pages: 152
Authors: Rajesh Gunasundaram
Categories: Computers
Type: BOOK - Published: 2015-11-27 - Publisher: Packt Publishing Ltd

Take the security of your ASP.NET Web API to the next level using some of the most amazing security techniques around About This Book This book has been complet
CORS Essentials
Language: en
Pages: 144
Authors: Rajesh Gunasundaram
Categories: Computers
Type: BOOK - Published: 2017-05-30 - Publisher: Packt Publishing Ltd

Share code and assets across domains in Web applications with CORS About This Book A step-by-step guide but at a high level/fast pace. Not all steps are covered
Learning ASP.NET Core MVC Programming
Language: en
Pages: 326
Authors: Mugilan T. S. Ragupathi
Categories: Computers
Type: BOOK - Published: 2016-11-16 - Publisher: Packt Publishing Ltd

Learn the fundamentals of ASP.NET MVC and build real-world web applications using ASP.NET Core MVC About This Book Get a first-principles coverage of ASP.NET MV
Learning Angular for .NET Developers
Language: en
Pages: 248
Authors: Rajesh Gunasundaram
Categories: Computers
Type: BOOK - Published: 2017-06-30 - Publisher: Packt Publishing Ltd

Build efficient web apps and deliver great results by integrating Angular and the .NET framework About This Book Become a more productive developer and learn to
Expert Angular
Language: en
Pages: 454
Authors: Mathieu Nayrolles
Categories: Computers
Type: BOOK - Published: 2017-07-31 - Publisher: Packt Publishing Ltd

Learn everything you need to build highly scalable, robust web applications using Angular release 4 About This Book Apply best practices and design patterns to
Designing Evolvable Web APIs with ASP.NET
Language: en
Pages: 538
Authors: Glenn Block
Categories: COMPUTERS
Type: BOOK - Published: 2014-03-13 - Publisher: "O'Reilly Media, Inc."

Design and build Web APIs for a broad range of clients—including browsers and mobile devices—that can adapt to change over time. This practical, hands-on gu
Microsoft Azure Essentials Azure Machine Learning
Language: en
Pages: 236
Authors: Jeff Barnes
Categories: Computers
Type: BOOK - Published: 2015-04-25 - Publisher: Microsoft Press

Microsoft Azure Essentials from Microsoft Press is a series of free ebooks designed to help you advance your technical skills with Microsoft Azure. This third e
GSEC GIAC Security Essentials Certification All-in-One Exam Guide, Second Edition
Language: en
Pages: 608
Authors: Ric Messier
Categories: Computers
Type: BOOK - Published: 2019-08-02 - Publisher: McGraw Hill Professional

Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlement
Learning Angular 2 for .net Developers
Language: en
Pages:
Authors:
Categories:
Type: BOOK - Published: 2016 - Publisher:

ASP.NET Web API
Language: en
Pages: 224
Authors: Joydip Kanjilal
Categories: Computers
Type: BOOK - Published: 2013-12 - Publisher: Packt Pub Limited

This book is a step-by-step, practical tutorial with a simple approach to help you build RESTful web applications and services on the .NET framework quickly and