Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages in full color showing how to combine Symfony with Docker, APIs, queues & async tasks, Webpack, Single-Page Applications, etc.

Buy printed version

Advent calendar day 6: security and form validation

The advent calendar tutorial is progressing, and it's already the sixth day.

Today, we will describe the way to restrict access to some parts of the site to authenticated users. The form validation process will also be illustrated by the login form rules.

Don't hesitate to download the code of the day 5 before starting, since we did some refactoring yesterday. And remember to clear the cache as soon as you modify the configuration or as you add classes to the model, or you will probably get errors in the production environment.

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.

Advent calendar day 6: security and form validation symfony.com/blog/advent-calendar-day-6-security-and-form-validation

Tweet this

Comments

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.