What is a web application firewall?
DefinitionA web application firewall (WAF) is a security layer that inspects HTTP traffic to and from a website or web application and blocks malicious requests, such as SQL injection and cross-site scripting attacks.
Also known as WAF
A traditional network firewall decides which connections to allow based on addresses and ports. A WAF works at the application level instead, reading the contents of web requests and comparing them with rules that describe known attack patterns, such as cross-site scripting payloads, as well as suspicious bots and abusive behavior. It can block or challenge bad requests, limit request rates and shield known vulnerabilities until the application itself is fixed.
A WAF can run on the server, as a plugin in a content management system or as a cloud service in front of a site, as with Cloudflare and Sucuri. Many rely on shared rule sets such as the OWASP Core Rule Set. Rules that are too strict can block real visitors, so they need tuning, and a firewall does not replace secure code and timely updates.
web application firewall resources
Topic: Privacy and security
Cite this definition
- APA
What is a web application firewall? (2026, November 22). Glossary. https://glossary.io/web-application-firewall/
- MLA
“What Is a Web Application Firewall?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/web-application-firewall/.
- Chicago
“What Is a Web Application Firewall?” Glossary. Coywolf. November 22, 2026. https://glossary.io/web-application-firewall/.
- HTML link
<a href="https://glossary.io/web-application-firewall/">What is a web application firewall?</a>
Published