Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

WARNING:

You are browsing the documentation for Symfony 3.4 which is not maintained anymore.

Consider upgrading your projects to Symfony 5.2.

How to Restrict Firewalls to a Specific Host

3.4 version
Unmaintained

How to Restrict Firewalls to a Specific Host

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.