目錄(83章)
倒序
- 封面
- 版權頁
- 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
推薦閱讀
- Linux C/C++服務器開發(fā)實踐
- Rake Task Management Essentials
- Ext JS Data-driven Application Design
- Web開發(fā)的貴族:ASP.NET 3.5+SQL Server 2008
- 數(shù)據(jù)結(jié)構(Python語言描述)(第2版)
- Python Network Programming Cookbook(Second Edition)
- Python高效開發(fā)實戰(zhàn):Django、Tornado、Flask、Twisted(第3版)
- Rust Essentials(Second Edition)
- Java程序設計:原理與范例
- Unreal Engine 4 Shaders and Effects Cookbook
- MongoDB,Express,Angular,and Node.js Fundamentals
- QGIS 2 Cookbook
- Building Clouds with Windows Azure Pack
- 微服務設計
- 人件集:人性化的軟件開發(fā)
- Spark內(nèi)核設計的藝術:架構設計與實現(xiàn)
- Spring 5.0 Cookbook
- INSTANT Fancybox
- 深入理解ElasticSearch
- C#項目開發(fā)全程實錄(第4版)
- C語言程序設計
- Learning C# by Developing Games with Unity 5.x(Second Edition)
- Mastering Apache Spark
- 輪式自主移動機器人編程實戰(zhàn)
- Mastering FreeSWITCH
- Mastering Symfony
- Processing創(chuàng)意編程:生成設計|數(shù)據(jù)可視化|聲音可視化
- Lua解釋器構建:從虛擬機到編譯器
- 量化金融R語言初級教程
- On Java:中文版·基礎卷