# Web application firewall

> A web application firewall (WAF) is an application-level filter that checks the requests to a web application and the responses it sends, in order to fend off attacks carried in web traffic.

Original page: https://t10.de/en/glossary/web-application-firewall
Publisher: total10 GmbH, https://t10.de/en/glossary

According to a [guide written for the BSI in 2013](https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/Studien/Webanwendungen/Webanw_Auftragnehmer.pdf?__blob=publicationFile&v=2) (in German), a WAF can protect a web application against attacks over HTTP by examining all incoming requests and the web server's outgoing responses. Among the common attacks it can prevent, the guide names cross-site scripting, SQL injection and the exploitation of known vulnerabilities and of configuration errors. OWASP's [community article](https://owasp.org/www-community/Web_Application_Firewall) describes a WAF as a firewall for HTTP applications that applies a set of rules to the HTTP conversation. A WAF can be considered a reverse proxy for one or more specific web applications: while a proxy generally protects clients, a WAF protects servers.

The BSI guide makes clear that a WAF is only an additional protection mechanism. It never removes the need to develop and test the application with sufficient security. For organisations that follow IT-Grundschutz, the [Compendium, Edition 2023](https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Grundschutz/IT-GS-Kompendium_Einzel_PDFs_2023/06_APP_Anwendungen/APP_3_1_Webanwendungen_und_Webservices_Edition_2023.pdf?__blob=publicationFile&v=3) (in German), says a WAF should be used in cases of increased protection needs. The configuration should be adapted to the application and checked after every update. [BSI-CS 022](https://www.bsi.bund.de/SharedDocs/Downloads/Webs/ACS/DE/BSI-CS/BSI-CS_022.pdf?__blob=publicationFile&v=1) (in German), a 2018 BSI recommendation, calls for a WAF that checks and filters critical content in input data, and advises choosing one that can detect brute-force and denial-of-service attacks.

In shops and business applications alike, a WAF complements carefully developed code but does not replace it.

## See also

- [Rate limiting](https://t10.de/en/glossary/rate-limiting): Rate limiting restricts how often a user or a program may send requests to an application or an interface within a given period.
- [Denial of service](https://t10.de/en/glossary/denial-of-service): Denial of service (DoS) is an attack that overloads or disrupts a service such as an online shop so that it is no longer available to its users.
- [Content Security Policy](https://t10.de/en/glossary/content-security-policy): A Content Security Policy (CSP) is a mechanism that developers can use to lock down their web applications in various ways and so reduce the risk of content injection.
- [Penetration test](https://t10.de/en/glossary/penetration-test): A penetration test examines the current security of a network, an IT system or a web application by assessing a deliberate attack's chances of success.

## Sources

1. [Leitfaden zur Entwicklung sicherer Webanwendungen: Empfehlungen und Anforderungen an die Auftragnehmer (2013)](https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/Studien/Webanwendungen/Webanw_Auftragnehmer.pdf?__blob=publicationFile&v=2), Bundesamt für Sicherheit in der Informationstechnik (BSI), accessed 2026-11-18
2. [Web Application Firewall (OWASP Community)](https://owasp.org/www-community/Web_Application_Firewall), OWASP Foundation, accessed 2026-11-18
3. [IT-Grundschutz-Kompendium Edition 2023, Baustein APP.3.1 Webanwendungen und Webservices](https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Grundschutz/IT-GS-Kompendium_Einzel_PDFs_2023/06_APP_Anwendungen/APP_3_1_Webanwendungen_und_Webservices_Edition_2023.pdf?__blob=publicationFile&v=3), Bundesamt für Sicherheit in der Informationstechnik (BSI), accessed 2026-11-18
4. [BSI-CS 022: Entwicklung sicherer Webanwendungen, Version 2.0 vom 11.07.2018](https://www.bsi.bund.de/SharedDocs/Downloads/Webs/ACS/DE/BSI-CS/BSI-CS_022.pdf?__blob=publicationFile&v=1), Bundesamt für Sicherheit in der Informationstechnik (BSI), accessed 2026-11-18
