From 174479c615b2d005b8a8f65832909217fef0a363 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 24 Jun 2015 11:10:45 +0200 Subject: [PATCH 1/3] Added information about the four sub-components of Security component --- components/security/introduction.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/security/introduction.rst b/components/security/introduction.rst index 982834e6ab6..05860dae022 100644 --- a/components/security/introduction.rst +++ b/components/security/introduction.rst @@ -21,6 +21,17 @@ You can install the component in 2 different ways: .. include:: /components/require_autoload.rst.inc +Starting from Symfony 2.4, the Security component is divided into four smaller +sub-components which can be used separately: + +* ``symfony/security-acl``, it provides a fine grained permissions mechanism + based on Access Control Lists. +* ``symfony/security-core``, it provides all the common security features, from + authentication to authorization and from encoding passwords to loading users. +* ``symfony/security-csrf``, it provides protection against `CSRF attacks`_. +* ``symfony/security-http"``, it integrates the core sub-component with the + HTTP protocol to handle HTTP requests and responses. + Sections -------- @@ -30,3 +41,4 @@ Sections * :doc:`/components/security/secure_tools` .. _Packagist: https://packagist.org/packages/symfony/security +.. _`CSRF attacks`: https://en.wikipedia.org/wiki/Cross-site_request_forgery From fc2e2a0ecb8565b370e845e37ad21d5f848b58dc Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 24 Jun 2015 12:20:11 +0200 Subject: [PATCH 2/3] Reformatted the list as a definition list --- components/security/introduction.rst | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/components/security/introduction.rst b/components/security/introduction.rst index 05860dae022..d6bcd1c0a93 100644 --- a/components/security/introduction.rst +++ b/components/security/introduction.rst @@ -24,13 +24,16 @@ You can install the component in 2 different ways: Starting from Symfony 2.4, the Security component is divided into four smaller sub-components which can be used separately: -* ``symfony/security-acl``, it provides a fine grained permissions mechanism - based on Access Control Lists. -* ``symfony/security-core``, it provides all the common security features, from - authentication to authorization and from encoding passwords to loading users. -* ``symfony/security-csrf``, it provides protection against `CSRF attacks`_. -* ``symfony/security-http"``, it integrates the core sub-component with the - HTTP protocol to handle HTTP requests and responses. +``symfony/security-core`` + It provides all the common security features, from authentication to + authorization and from encoding passwords to loading users. +``symfony/security-http`` + It integrates the core sub-component with the HTTP protocol to handle HTTP + requests and responses. +``symfony/security-csrf`` + It provides protection against `CSRF attacks`_. +``symfony/security-acl`` + It provides a fine grained permissions mechanism based on Access Control Lists. Sections -------- From 20ac08a8c7d92fac4e865c4b3548e9bf77c457c8 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 24 Jun 2015 16:53:03 +0200 Subject: [PATCH 3/3] Fixed a definition list syntax --- components/security/introduction.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/components/security/introduction.rst b/components/security/introduction.rst index d6bcd1c0a93..75383aedbbf 100644 --- a/components/security/introduction.rst +++ b/components/security/introduction.rst @@ -27,11 +27,14 @@ sub-components which can be used separately: ``symfony/security-core`` It provides all the common security features, from authentication to authorization and from encoding passwords to loading users. + ``symfony/security-http`` - It integrates the core sub-component with the HTTP protocol to handle HTTP - requests and responses. + It integrates the core sub-component with the HTTP protocol to handle HTTP + requests and responses. + ``symfony/security-csrf`` It provides protection against `CSRF attacks`_. + ``symfony/security-acl`` It provides a fine grained permissions mechanism based on Access Control Lists.