---
date: 2020-11-13
id: 70e05930-7411-4ccb-8458-9d10b2ae4720
title: Lazy Firewalls
---

# Syntax

``` yaml
# config/packages/security.yaml
security:
    # ...
    firewalls:
        main:
            pattern: ^/
            anonymous: lazy
            # ...
```
