How to Restrict Firewalls to a Specific Host
Warning: You are browsing the documentation for Symfony 2.x, which is no longer maintained.
Read the updated version of this page for Symfony 7.0 (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
in "How to Restrict Firewalls to a Specific Request".