System Design
13. Security ArchitectureAnimated
Web Application Firewall (WAF)
Filters malicious HTTP requests.
The idea
Rules block common attacks such as injection and bots before they reach the app.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
All traffic passes through the WAF.
- step:
- 1/4
- at:
- Traffic
1/7
The green dot is a request moving through the system.
Step by step
- 1Request reaches the WAF
- 2Rules are checked
- 3Bad requests are blocked
- 4Good ones are forwarded
Where it is used
Public web apps.
Watch out for
False positives and bypasses. It is not a replacement for secure code.