- 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
推薦閱讀
- UI圖標(biāo)創(chuàng)意設(shè)計
- Python從小白到大牛
- AWS Serverless架構(gòu):使用AWS從傳統(tǒng)部署方式向Serverless架構(gòu)遷移
- Mastering QGIS
- Arduino開發(fā)實戰(zhàn)指南:LabVIEW卷
- Expert Android Programming
- Mastering Ext JS
- 劍指MySQL:架構(gòu)、調(diào)優(yōu)與運維
- Cybersecurity Attacks:Red Team Strategies
- C++從入門到精通(第5版)
- “笨辦法”學(xué)C語言
- Fast Data Processing with Spark(Second Edition)
- 平面設(shè)計經(jīng)典案例教程:CorelDRAW X6
- Android Game Programming by Example
- 多媒體技術(shù)及應(yīng)用