How to Restrict Firewalls to a Specific Host
Warning: You are browsing the documentation for Symfony 3.x, which is no longer maintained.
Read the updated version of this page for Symfony 7.1 (the current stable version).
As of Symfony 2.5, more possibilities to restrict firewalls have been added.
You can read everything about all the possibilities (including host
)
in "How to Restrict Firewalls to a Specific Request".
This work, including the code samples, is licensed under a
Creative Commons BY-SA 3.0
license.