Web Security
17 chapters on securing web applications — from preventing injection attacks to a complete secure development lifecycle.
Preventing Vulnerabilities
- SQL Injection Prevention — Parameterized queries, ORM usage, and input validation
- XSS Prevention — Output encoding, Content Security Policy, and DOM security
- Command Injection Prevention — Safely calling system commands
- Path Traversal Prevention — Restricting file access and path validation
- SSTI Prevention — Securely configuring template engines
- XXE Prevention — Securing XML parsers against external entities
- SSRF Prevention — Restricting and filtering server-side requests
- Deserialization Prevention — Preventing unsafe object deserialization
- Client-Side Security — Blocking browser-side attack vectors
Hardening & Architecture
- Authentication Hardening — Password policy, MFA, and session security
- Security Headers — HTTP headers that protect browsers
- Input Validation & Output Encoding — Layered defense against injection
- TLS/SSL Configuration — Setting up encryption correctly
- API Security — Securing REST and GraphQL APIs
- File Upload Hardening — Safely processing file uploads
- OAuth & OpenID Connect — Correctly implementing authentication protocols
- Secure Development Lifecycle — Building security into every phase of development