目錄(83章)
倒序
- 封面
- 版權(quán)頁
- Credits
- About the Author
- Acknowledgments
- About the Reviewer
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Reader feedback
- Customer support
- Chapter 1. Setting up a Browser Client
- 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
- Summary
- Chapter 2. Enabling SSL for ASP.NET Web API
- Enforcing SSL in a Web API controller
- Using client certificates in Web API
- Summary
- Chapter 3. Integrating ASP.NET Identity System with Web API
- Creating an Empty Web API Application
- Installing the ASP.NET Identity NuGet packages
- Setting up ASP.NET Identity 2.1
- Defining Web API Controllers and methods
- Summary
- Chapter 4. Securing Web API Using OAuth2
- Hosting OWIN in IIS and adding Web API to the OWIN pipeline
- Individual User Account authentication flow
- Sending an unauthorized request
- Get an access token
- Send an authenticated request
- Summary
- Chapter 5. Enabling Basic Authentication using Authentication Filter in Web API
- Basic authentication with IIS
- Basic authentication with custom membership
- Basic authentication using an authentication filter
- Setting an authentication filter
- Implementing a Web API authentication filter
- Setting an error result
- Combining authentication filters with host-level authentication
- Summary
- Chapter 6. Securing a Web API using Forms and Windows Authentication
- Working of Forms authentication
- Implementing Forms authentication in Web API
- What is Integrated Windows Authentication?
- Advantages and disadvantages of using the Integrated Windows Authentication mechanism
- Configuring Windows Authentication
- Difference between Basic Authentication and Windows authentication
- Enabling Windows authentication in Katana
- Summary
- Chapter 7. Using External Authentication Services with ASP.NET Web API
- Using OWIN external authentication services
- Implementing Facebook authentication
- Implementing Twitter authentication
- Implementing Google authentication
- Implementing Microsoft authentication
- Discussing authentication
- Summary
- Chapter 8. Avoiding Cross-Site Request Forgery Attacks in Web API
- What is a CSRF attack?
- Anti-forgery tokens using HTML Form or Razor View
- Anti-forgery tokens using AJAX
- Summary
- Chapter 9. Enabling Cross-Origin Resource Sharing (CORS) in ASP.NET Web API
- What is CORS?
- How CORS works
- Setting the allowed origins
- Setting the allowed HTTP methods
- Setting the allowed request headers
- Setting the allowed response headers
- Passing credentials in cross-origin requests
- Enabling CORS at various scope
- Summary
- Index 更新時間:2021-07-30 10:16:09
推薦閱讀
- UML和模式應(yīng)用(原書第3版)
- 零基礎(chǔ)PHP學(xué)習(xí)筆記
- The Modern C++ Challenge
- Java系統(tǒng)分析與架構(gòu)設(shè)計
- Delphi程序設(shè)計基礎(chǔ):教程、實驗、習(xí)題
- MongoDB for Java Developers
- NLTK基礎(chǔ)教程:用NLTK和Python庫構(gòu)建機(jī)器學(xué)習(xí)應(yīng)用
- SQL語言從入門到精通
- WordPress Plugin Development Cookbook(Second Edition)
- Mastering Drupal 8 Views
- QGIS By Example
- Java:High-Performance Apps with Java 9
- Unity 2D Game Development Cookbook
- Extending Puppet(Second Edition)
- 運用后端技術(shù)處理業(yè)務(wù)邏輯(藍(lán)橋杯軟件大賽培訓(xùn)教材-Java方向)
- RealSenseTM互動開發(fā)實戰(zhàn)
- C# and .NET Core Test Driven Development
- Beginning PHP
- Python機(jī)器學(xué)習(xí)
- 少年小魚的魔法之旅:神奇的Python
- Python Natural Language Processing
- 網(wǎng)頁設(shè)計理論與實踐
- Hands-On Machine Learning with ML.NET
- 計算機(jī)網(wǎng)絡(luò)基礎(chǔ)
- OpenCV 4計算機(jī)視覺:Python語言實現(xiàn)(原書第3版)
- Python架構(gòu)模式:精通基于Python的API設(shè)計、事件驅(qū)動架構(gòu)和包管理
- 零基礎(chǔ)HTML+CSS+JavaScript學(xué)習(xí)筆記
- 互聯(lián)網(wǎng)輕量級SSM框架解密:Spring、Spring MVC、MyBatis源碼深度剖析
- Access2010實用教程
- Flink設(shè)計與實現(xiàn):核心原理與源碼解析