Skip to content

Commit 3e42b84

Browse files
committed
Add versionadded tag to security config reference, reference cookbok entry in book
1 parent cc8d19a commit 3e42b84

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

book/security.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ Let's look briefly at how security works and how each part of the configuration
152152
comes into play.
153153

154154
.. versionadded:: 2.4
155-
A new property was added to the firewall configuration, where you can
156-
make a restriction, called ``host``.
155+
Support for restricting security firewalls to a specific host was added in
156+
Symfony 2.4.
157157

158158
How Security Works: Authentication and Authorization
159159
----------------------------------------------------
@@ -1102,7 +1102,7 @@ Thanks to the SensioFrameworkExtraBundle, you can also secure your controller us
11021102
// ...
11031103
}
11041104

1105-
For more information, see the
1105+
For more information, see the
11061106
:doc:`FrameworkExtraBundle documentation </bundles/SensioFrameworkExtraBundle/annotations/security>`.
11071107

11081108
Securing other Services
@@ -2168,6 +2168,7 @@ Learn more from the Cookbook
21682168
* :doc:`Blacklist users by IP address with a custom voter </cookbook/security/voters>`
21692169
* :doc:`Access Control Lists (ACLs) </cookbook/security/acl>`
21702170
* :doc:`/cookbook/security/remember_me`
2171+
* :doc:`How to Restrict Firewalls to a Specific Host </cookbook/security/host_restriction>`
21712172

21722173
.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle
21732174
.. _`implement the \Serializable interface`: http://php.net/manual/en/class.serializable.php

reference/configuration/security.rst

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Full Default Configuration
1313
The following is the full default configuration for the security system.
1414
Each part will be explained in the next section.
1515

16+
.. versionadded:: 2.4
17+
Support for restricting security firewalls to a specific host was added in
18+
Symfony 2.4.
19+
1620
.. configuration-block::
1721

1822
.. code-block:: yaml

0 commit comments

Comments
 (0)