Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

Symfony Security: The Basics

via SymfonyCasts

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates

Security doesn’t have to feel scary. In this course, you’ll learn how to add real authentication and authorization to a Symfony app — step by step, from zero to a fully protected system.

We’ll start by installing and understanding the Security component, then create users, build login and registration forms, and add handy features like “remember me.” From there, you’ll work with roles, firewalls, access control, and how Symfony decides who can do what.

We’ll wrap up by demystifying voters — including one that checks permissions based on a specific object (a “subject”) and another that gives super-admins special powers — so you understand the core building blocks behind Symfony’s authorization system.

By the end, you won’t just know which buttons to press — you’ll understand the fundamentals of how Symfony Security works, so you can confidently protect your apps.

Syllabus

  • Installing the Security Bundle
  • Creating the User Class
  • Creating a Login Form
  • Understanding Password Hashing
  • app.user and Login/Logout Links
  • Protecting Logout with CSRF
  • Enabling "Remember Me" Feature
  • Login with Email or Username
  • Customizing Authentication Error Messages

Taught by

Kevin Bond

Reviews

Start your review of Symfony Security: The Basics

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.