- 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
推薦閱讀
- Python入門很簡單
- Flask Web開發(fā)入門、進(jìn)階與實戰(zhàn)
- INSTANT OpenNMS Starter
- Learning DHTMLX Suite UI
- 匯編語言編程基礎(chǔ):基于LoongArch
- Arduino機器人系統(tǒng)設(shè)計及開發(fā)
- Android智能手機APP界面設(shè)計實戰(zhàn)教程
- 例說FPGA:可直接用于工程項目的第一手經(jīng)驗
- ASP.NET Core and Angular 2
- Instant Pygame for Python Game Development How-to
- 前端架構(gòu)設(shè)計
- 軟技能2:軟件開發(fā)者職業(yè)生涯指南
- 深度學(xué)習(xí):基于Python語言和TensorFlow平臺(視頻講解版)
- Learning Unity Physics
- Vue.js項目開發(fā)實戰(zhàn)