Skip to content

Commit e141c87

Browse files
committed
feature #5435 Added information about the four sub-components of Security component (javiereguiluz)
This PR was squashed before being merged into the 2.6 branch (closes #5435). Discussion ---------- Added information about the four sub-components of Security component | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | 2.6+ | Fixed tickets | #4151 Commits ------- 839342d Added information about the four sub-components of Security component
2 parents 9fd5229 + 839342d commit e141c87

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

components/security/introduction.rst

+18
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ You can install the component in 2 different ways:
2121

2222
.. include:: /components/require_autoload.rst.inc
2323

24+
Starting from Symfony 2.4, the Security component is divided into four smaller
25+
sub-components which can be used separately:
26+
27+
``symfony/security-core``
28+
It provides all the common security features, from authentication to
29+
authorization and from encoding passwords to loading users.
30+
31+
``symfony/security-http``
32+
It integrates the core sub-component with the HTTP protocol to handle HTTP
33+
requests and responses.
34+
35+
``symfony/security-csrf``
36+
It provides protection against `CSRF attacks`_.
37+
38+
``symfony/security-acl``
39+
It provides a fine grained permissions mechanism based on Access Control Lists.
40+
2441
Sections
2542
--------
2643

@@ -30,3 +47,4 @@ Sections
3047
* :doc:`/components/security/secure_tools`
3148

3249
.. _Packagist: https://packagist.org/packages/symfony/security
50+
.. _`CSRF attacks`: https://en.wikipedia.org/wiki/Cross-site_request_forgery

0 commit comments

Comments
 (0)