Skip to content

Facelifted book/security #2783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improved list
  • Loading branch information
wouterj committed Jun 23, 2013
commit c58d1be6954f0831969a851c39da8bdf2624b579
12 changes: 8 additions & 4 deletions book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -748,12 +748,15 @@ to find *one* that matches the current request. As soon as it finds a matching
is used to enforce access.

Each ``access_control`` has several options that configure two different
things: (a) :ref:`should the incoming request match this access control entry<security-book-access-control-matching-options>`
and (b) :ref:`once it matches, should some sort of access restriction be enforced<security-book-access-control-enforcement-options>`:
things:

* :ref:`should the incoming request match this access control entry<security-book-access-control-matching-options>`
* :ref:`once it matches, should some sort of access restriction be enforced<security-book-access-control-enforcement-options>`:

.. _security-book-access-control-matching-options:

**(a) Matching Options**
Matching Options
................

Symfony2 creates an instance of :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher`
for each ``access_control`` entry, which determines whether or not a given
Expand Down Expand Up @@ -833,7 +836,8 @@ will match any ``ip``, ``host`` or ``method``:

.. _security-book-access-control-enforcement-options:

**(b) Access Enforcement**
Access Enforcement
..................

Once Symfony2 has decided which ``access_control`` entry matches (if any),
it then *enforces* access restrictions based on the ``roles`` and ``requires_channel``
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy