Rocking Modern Security with Symfony
summary
Shows concrete recipes using Symfony commands and components: run make:user and make:voter, add a Guard authenticator to a firewall, extract API keys from requests and return 401 on failure. Demonstrates an in-memory API-key example, a Stripe-style HMAC check that recomputes body signature, OAuth via HWIOAuth-like client, JWT validation with a JWT library, magic-login links and TOTP QR generation for 2FA. Config snippets, firewall patterns and credential-check methods are shown and tested end-to-end.
AI-written summary · about
chapters (17)
- 0:00Introduction to Symfony security
- 1:13Authorization basics in Symfony
- 5:12Authentication fundamentals
- 9:30Simplified authentication with Guard
- 10:15Form login with Guard
- 12:05API key authentication
- 14:17HMAC authentication
- 16:41OAuth and social login
- 19:43JWT token authentication
- 21:31Passwordless magic links
- 23:22Two-factor authentication
- 25:52OTP code authentication
- 27:41Security events and listeners
- 29:08CSRF protection and URL security
- 30:09HTTPS and cookie security
- 31:19Future of web security
- 32:02Closing and Q&A
