Proxies and smarter firewalls
Web application firewall
A reverse proxy in front of a web application that refuses requests matching its rules before they reach it.
A web application firewall (WAF) is a reverse proxy in front of a web application that refuses requests matching its
rules. It reads each request (path, query, headers, body size, rate per client) and answers 403, 413 or 429 itself;
the rest is passed on with X-Forwarded-For. Rules catch known patterns such as [[sql-injection]], not every way of
writing them: the application must still be safe on its own.
Read next
- Load balancer One address in front of many servers, spreading connections between them and skipping the unhealthy.
- Forward proxy A server that makes web requests on its users' behalf, and so can allow or refuse them by name and URL.
- HTTP The web's request and response protocol: plain text over TCP unless wrapped in TLS.
- DMZ A network apart for the servers the internet may reach, so breaking into one opens nothing behind it.
- Next-generation firewall A stateful firewall that also identifies the application in each flow and applies proxy and IPS rules to it.
- Firewall types From packet filters to next-generation firewalls: how much of the traffic each kind understands.
- Content discovery Finding the pages and files a web server holds but links to nowhere, by guessing common paths from a wordlist.