Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 839342d

Browse files
javiereguiluzwouterj
authored andcommitted
Added information about the four sub-components of Security component
1 parent 9fd5229 commit 839342d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

components/security/introduction.rst

Lines changed: 18 additions & 0 deletions
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)