The Security Component
Edit this pageWarning: You are browsing the documentation for Symfony 2.0, which is no longer maintained.
Read the updated version of this page for Symfony 6.3 (the current stable version).
The Security Component
Introduction
The Security Component provides a complete security system for your web application. It ships with facilities for authenticating using HTTP basic or digest authentication, interactive form login or X.509 certificate login, but also allows you to implement your own authentication strategies. Furthermore, the component provides ways to authorize authenticated users based on their roles, and it contains an advanced ACL system.
Installation
You can install the component in many different ways:
- Use the official Git repository (https://github.com/symfony/Security);
- Install it via Composer (
symfony/security
on Packagist).