- ASP.NET Web API Security Essentials
- Rajesh Gunasundaram
- 152字
- 2021-07-30 10:15:52
Chapter 1. Setting up a Browser Client
If you are reading this book, it is because you understand the importance of securing your web API. ASP.NET Web API is a framework that helps in building HTTP services that can be utilized by a wide range of clients. So it is very important to secure your Web API.
ASP.NET Web API 1.0 doesn't have any security features so the security is provided by the host such as Internet Information Server. In ASP.NET Web API 2, security features such as Katana were introduced. To secure Web API, let's understand various techniques that are involved and choose the right approach.
In this chapter, we will cover the following topics:
- ASP.NET Web API security architecture
- Setting up your browser client
- Authentication and authorization
- Implementing authentication in HTTP message handlers
- Setting the principal
- Using the [Authorize] Attribute
- Custom authorization filters
- Authorization inside a controller action
推薦閱讀
- Learning NServiceBus(Second Edition)
- 信息可視化的藝術:信息可視化在英國
- Python 深度學習
- Mastering Python Scripting for System Administrators
- R語言數據可視化實戰
- 數據結構習題精解(C語言實現+微課視頻)
- Gradle for Android
- Visual Basic程序設計實踐教程
- SQL Server與JSP動態網站開發
- PHP從入門到精通(第4版)(軟件開發視頻大講堂)
- D3.js By Example
- Extending Unity with Editor Scripting
- Java Web開發實例大全(基礎卷) (軟件工程師開發大系)
- 交互式程序設計(第2版)
- Python繪圖指南:分形與數據可視化(全彩)