Book description
API Security in Action teaches you how to create secure APIs for any situation. By following this hands-on guide you’ll build a social network API while mastering techniques for flexible multi-user security, cloud key management, and lightweight cryptography. When you’re done, you’ll be able to create APIs that stand up to complex threat models and hostile environments.Table of contents
- API Security in Action
- Copyright
- contents
- front matter
- Part 1. Foundations
- 1 What is API security?
- 2 Secure API development
- 3 Securing the Natter API
- Part 2. Token-based authentication
- 4 Session cookie authentication
- 5 Modern token-based authentication
- 6 Self-contained tokens and JWTs
- Part 3. Authorization
- 7 OAuth2 and OpenID Connect
- 8 Identity-based access control
- 9 Capability-based security and macaroons
- Part 4. Microservice APIs in Kubernetes
-
10 Microservice APIs in Kubernetes
- 10.1 Microservice APIs on Kubernetes
-
10.2 Deploying Natter on Kubernetes
- 10.2.1 Building H2 database as a Docker container
- 10.2.2 Deploying the database to Kubernetes
- 10.2.3 Building the Natter API as a Docker container
- 10.2.4 The link-preview microservice
- 10.2.5 Deploying the new microservice
- 10.2.6 Calling the link-preview microservice
- 10.2.7 Preventing SSRF attacks
- 10.2.8 DNS rebinding attacks
- 10.3 Securing microservice communications
- 10.4 Securing incoming requests
- Answers to pop quiz questions
- Summary
- 11 Securing service-to-service APIs
- Part 5. APIs for the Internet of Things
- 12 Securing IoT communications
- 13 Securing IoT APIs
- appendix A. Setting up Java and Maven
- appendix B. Setting up Kubernetes
- index
Product information
- Title: API Security in Action
- Author(s):
- Release date: January 2021
- Publisher(s): Manning Publications
- ISBN: 9781617296024
You might also like
book
Practical Cloud Security
With their rapidly changing architecture and API-driven automation, cloud platforms come with unique security challenges and …
book
Skills of a Successful Software Engineer
Skills to grow from a solo coder into a productive member of a software development team, …
book
Infrastructure as Code, 2nd Edition
Six years ago, Infrastructure as Code was a new concept. Today, as even banks and other …
book
AWS Cookbook
This practical guide provides over 70 self-contained recipes to help you creatively solve common AWS challenges …