- 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
推薦閱讀
- 精通Nginx(第2版)
- Java程序設(shè)計(jì)與開(kāi)發(fā)
- Spring 5.0 Microservices(Second Edition)
- Android應(yīng)用程序開(kāi)發(fā)與典型案例
- LabVIEW入門(mén)與實(shí)戰(zhàn)開(kāi)發(fā)100例
- Java高并發(fā)核心編程(卷2):多線(xiàn)程、鎖、JMM、JUC、高并發(fā)設(shè)計(jì)模式
- 數(shù)據(jù)庫(kù)系統(tǒng)原理及MySQL應(yīng)用教程
- 基于Swift語(yǔ)言的iOS App 商業(yè)實(shí)戰(zhàn)教程
- INSTANT OpenNMS Starter
- Mastering KnockoutJS
- jQuery Mobile移動(dòng)應(yīng)用開(kāi)發(fā)實(shí)戰(zhàn)(第3版)
- 零基礎(chǔ)學(xué)C語(yǔ)言程序設(shè)計(jì)
- Unity Android Game Development by Example Beginner's Guide
- Python網(wǎng)絡(luò)爬蟲(chóng)實(shí)例教程(視頻講解版)
- Jakarta EE Cookbook