Domain
Web Security & Authentication
A learning path to study web security systematically on framework-independent first principles — from how HTTP works and the foundations of web vulnerabilities, through cryptography and authentication/authorization protocols, secure-by-design thinking, and threat modeling, to vulnerability assessment from an attacker's perspective.
The Terrain of This Field
The terrain of web security can be read as a chain of defenses that begins at a shoreline battered by the waves of attack. The water's edge is the "foundations of web vulnerabilities": on top of HTTP, learning why injection and XSS arise — their mechanisms and root remedies — is the trailhead of all defense.
Moving inland, you reach the gatehouse of "authentication and authorization." How do you verify identity and delegate privileges over stateless HTTP? Cryptography holds the key, and protocols like OAuth, OIDC, and passkeys give shape to trust.
Deeper still rises the high ground of "defending by design": beyond reactive validation, the philosophy of building structures where vulnerabilities cannot enter, and systematic defense through threat modeling. At the outermost ring stands the watchtower of "offense and assessment" — to defend, you must know how the attacker thinks. The axis running through this field is a consistent stance: defend in depth, from first principles, not by ad hoc patching.
Follow the arrows to read in order / solid = required, dashed = recommended
Share this map
Computing layout...
Books in this domain
15 books
Ango Gijutsu Nyumon, 3rd Edition (An Introduction to Cryptography)
Alice in the Land of Secrets
Hiroshi Yuki
Grokking Web Application Security
Malcolm McDonald
Hajimete no Digital Identity (Getting Started with Digital Identity)
Authentication, Authorization, and Identity Management Every Web Service Needs
Ryo Ito
Seisei AI no Anzensei Nyumon (An Introduction to Generative AI Safety)
Koki Wataoka
Hacking APIs
Breaking Web Application Programming Interfaces
Corey Ball
Passkey no Subete (Everything About Passkeys)
Adoption, UX Design, and Implementation
agektmr, Masaru Kurahayashi, Kosuke Koiwai
Real World HTTP, 3rd Edition
Internet and Web Technology, Learned from History and Code
Yoshiki Shibukawa
Secure APIs
Design, build, and implement
José Haro Peralta
Taikeiteki ni Manabu Anzen na Web Application no Tsukurikata, 2nd Edition (A Systematic Guide to Building Secure Web Applications)
How Vulnerabilities Arise and How to Counter Them in Practice
Hiroshi Tokumaru
Web Security Tantosha no Tame no Zeijakusei Shindan Start Guide, 2nd Edition (A Vulnerability Assessment Start Guide for Web Security Staff)
Sen Ueno Teaches New Techniques for Preventing Information Leaks
Sen Ueno
White Hacker Nyumon, 2nd Edition (An Introduction to Ethical Hacking)
Hiroki Abe
Designing Secure Software
A Guide for Developers
Loren Kohnfelder
OAuth 2 in Action
Justin Richer, Antonio Sanso
OpenID Connect Nyumon (Introduction to OpenID Connect)
Practical Technical Guide for Application Developers
Kohei Toki
Secure by Design
Dan Bergh Johnsson, Daniel Deogun, Daniel Sawano
Dependencies
- 01Real World HTTP, 3rd EditionTaikeiteki ni Manabu Anzen na Web Application no Tsukurikata, 2nd Edition (A Systematic Guide to Building Secure Web Applications)Recommended / From HTTP principles to vulnerability countermeasures
Reason: Authentication, sessions, and cookies all sit on top of HTTP. Grasping HTTP's behavior from first principles first lets you understand structurally where in the protocol the vulnerabilities in Tokumaru's book actually arise.
- 02Taikeiteki ni Manabu Anzen na Web Application no Tsukurikata, 2nd Edition (A Systematic Guide to Building Secure Web Applications)Grokking Web Application SecurityRecommended / From principles and root fixes to a modern, cross-layer view
Reason: Once Tokumaru's book has cemented the principles and root fixes, reinforce them with a modern, cross-layer view from browser to server. Widening the scope to supply chain and incident response raises the resolution of your defense.
- 03Taikeiteki ni Manabu Anzen na Web Application no Tsukurikata, 2nd Edition (A Systematic Guide to Building Secure Web Applications)Ango Gijutsu Nyumon, 3rd Edition (An Introduction to Cryptography)Recommended / From vulnerability fundamentals to the cryptography foundation
Reason: After grasping the overall picture of vulnerability defense, descend to the cryptographic foundation that much of it relies on. Understanding the logic of hashing, signatures, and public-key crypto lets you treat TLS and token verification as principles rather than magic.
- 04Ango Gijutsu Nyumon, 3rd Edition (An Introduction to Cryptography)OAuth 2 in ActionRecommended / From the cryptography foundation to an authorization protocol
Reason: Only with a foundation in signatures and public-key cryptography can you correctly understand token-based authorization. OAuth 2.0 is the de facto standard for delegating privileges; learn its grant types and flows from first principles.
- 05OAuth 2 in ActionOpenID Connect Nyumon (Introduction to OpenID Connect)Recommended / From authorization with OAuth to authentication with OIDC
Reason: OAuth 2.0 is fundamentally an authorization protocol, and misusing it for pseudo-authentication breeds vulnerabilities. Advancing to OIDC, which standardizes identity verification, clarifies how to build correct authentication, including ID token validation.
- 06Ango Gijutsu Nyumon, 3rd Edition (An Introduction to Cryptography)Passkey no Subete (Everything About Passkeys)Recommended / From public-key cryptography to passkeys
Reason: Passkeys apply public-key cryptography to authentication. Reading this after the crypto basics makes it click why no password is stored on the server and why phishing resistance emerges — down to verifying the challenge signature.
- 07OpenID Connect Nyumon (Introduction to OpenID Connect)Secure by DesignRecommended / From implementing authentication and authorization to elimination by design
Reason: Once you can implement authentication and authorization as a system, lift your perspective a level. Secure by Design goes beyond reactive input validation and escaping, offering a way to build structures where invalid data cannot enter at the design stage.
- 08Secure by DesignDesigning Secure SoftwareRecommended / From design philosophy to the threat modeling process
Reason: After grasping a robust, type-based design philosophy, advance to embedding it into the development process. STRIDE-based threat modeling systematically surfaces attack surfaces and trust boundaries, giving design reviews their backbone.
- 09Grokking Web Application SecurityHacking APIsRecommended / From defensive fundamentals to the attacker's view of APIs
Reason: Once the principles of defense are solid, adopt the attacker's view. Learning API vulnerabilities (BOLA/IDOR, etc.) — now the main battleground for SPAs and microservices — from the offensive side lets you work backward to robust API design.
- 10Taikeiteki ni Manabu Anzen na Web Application no Tsukurikata, 2nd Edition (A Systematic Guide to Building Secure Web Applications)Web Security Tantosha no Tame no Zeijakusei Shindan Start Guide, 2nd Edition (A Vulnerability Assessment Start Guide for Web Security Staff)Recommended / From learned vulnerabilities to verification through assessment
Reason: After learning the principles of vulnerabilities, verify them with your own hands. Dynamic analysis with OWASP ZAP and Burp Suite lets you feel how attacks you knew only in theory actually succeed in real traffic, closing the gap between theory and practice.
- 11Designing Secure SoftwareWeb Security Tantosha no Tame no Zeijakusei Shindan Start Guide, 2nd Edition (A Vulnerability Assessment Start Guide for Web Security Staff)Related / From threat modeling assumptions to validation by hands-on assessment
Reason: Once threat modeling has surfaced 'where the risks lie' at design time, confirm those assumptions through hands-on assessment. Matching design-level threats against actual behavior validates the effectiveness of your defenses.
- 12Grokking Web Application SecurityWhite Hacker Nyumon, 2nd Edition (An Introduction to Ethical Hacking)Related / From web defense basics to a broader view of attack techniques
Reason: Once you hold the principles of web defense, widen your scope to attacks across networks and servers. Knowing the attacker's thought process brings insights for active defense that are not confined to the web app alone.
- 13Ango Gijutsu Nyumon, 3rd Edition (An Introduction to Cryptography)Hajimete no Digital Identity (Getting Started with Digital Identity)Recommended / From cryptography fundamentals to an identity management overview
Reason: With hashing and signatures as your cryptographic foundation, see how they play out across a real identity lifecycle. This book traces registration through login, recovery, and account closure as one continuous flow, moving from single-service authentication/authorization to identity-provider federation.
- 14Hajimete no Digital Identity (Getting Started with Digital Identity)OAuth 2 in ActionRecommended / From an ID management overview to implementing an authorization protocol
Reason: Once you hold the shape of ID management and identity federation, step into the implementation of the authorization protocol at its core. Working through OAuth 2.0's grants and flows in code clarifies pitfalls like token leakage and redirect URI tampering from first principles.
- 15OpenID Connect Nyumon (Introduction to OpenID Connect)Secure APIsRecommended / From authentication and authorization to API-wide security design
Reason: Once you understand OIDC's authorization code flow and JWT validation at the implementation level, widen your view to the security of the API as a whole. This book covers not only vulnerabilities rooted in authentication and authorization, but also API configuration risks, financial-grade API requirements, observability, and testing — building security in from the design stage.
Reason: After learning to defend APIs from the design stage with a shift-left mindset, check from the attacker's side whether that design actually holds up. Learning authorization-gap vulnerabilities like BOLA/IDOR from the offensive side lets you work backward to reassess the robustness of your design.
- 17Web Security Tantosha no Tame no Zeijakusei Shindan Start Guide, 2nd Edition (A Vulnerability Assessment Start Guide for Web Security Staff)Seisei AI no Anzensei Nyumon (An Introduction to Generative AI Safety)Related / From web vulnerability assessment to generative AI safety evaluation
Reason: After gaining hands-on diagnostic experience with tools like OWASP ZAP and Burp Suite that closes the gap between theory and practice, turn that same posture — verifying defenses in the field — toward a new target. Generative-AI risk is evaluated through a different form, benchmarks and red-teaming, but the idea of backing up desk assumptions with verification carries over.
- 18Seisei AI no Anzensei Nyumon (An Introduction to Generative AI Safety)LLMOpsRecommended / From AI safety theory to production operations governance
Reason: Once you've learned generative-AI risk classification, red-teaming-based safety evaluation, and system-level countermeasures like guardrails, you advance to embedding them into a mechanism that actually keeps running in production. LLMOps' closing chapter covers responding to security risks such as governance, privacy, and prompt injection, plus building an observability pipeline — connecting the evaluation and countermeasure knowledge from the AI safety primer into concrete production-operation mechanisms.
- 19Seisei AI no Anzensei Nyumon (An Introduction to Generative AI Safety)Seisei AI Application Hyoka Nyumon (An Introduction to Evaluating Generative AI Applications)Related / From AI safety evaluation concepts to evaluating your own product
Reason: After learning the techniques of safety evaluation via benchmarks and red-teaming, you broaden your view to how the act of 'evaluating' concretely gets built into your own generative-AI product. This book on generative-AI application evaluation covers everything from building an evaluation perspective model to confusion matrices, RAG-oriented metrics, security evaluation, and AI agent evaluation along the development lifecycle, connecting the abstract idea of safety evaluation to your own product's quality-assurance process.
Explore next
Connected fields
Domain
DevOps / SRE
A staged learning path covering DevOps culture, continuous delivery, SRE, observability, containers, and IaC — moving from narrative to implementation. Build modern operations that balance high reliability and agility across organization, process, and technology.
Domain
Software Design
A systematic learning path for software design — from clean code to architecture, testing, and quality culture. Covers code quality, TDD, DDD, distributed system design, and DevOps/quality organization.