This course is still being released! Check back later for more chapters.
Symfony 8.2 Security Upgrades
Upgrade to Symfony 8.2 and put its new security features to work - from one-line logout forms to CSRF-proof impersonation and a real sudo mode.
- intermediate
- 54 students
- EN/ES Captions
- EN/ES Script
- Certificate of Completion
Your Guides
About this course
Symfony 8.2 adds security features that replace code you've likely written by hand. We'll take the app from Symfony Security: The Basics and Going Further, upgrade it to 8.2, and swap our workarounds for the new built-in tools.
We'll simplify logout, lock down impersonation, log disabled users out the right way, build a real sudo mode that asks for a recent login before risky actions, and define a one-off rate limiter right where it's used.
What You'll Learn
- Upgrading to Symfony 8.2
- The
logout_button()helper - CSRF-protected impersonation with
impersonation_button() - Logging out disabled users with
user_checker_on_refresh - Sudo mode with
IS_AUTHENTICATED_RECENTLYandIS_AUTHENTICATED_VERY_RECENTLY - Confirm-password pages for re-authentication
- One-off rate limiters with
RateLimiterBuilder
Next courses in the Symfony: Learn More Tricks section of the Symfony Track!
Comments
"Houston: no signs of life"
Start the conversation!