Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Glossary

WAF: web application firewall

A WAF (web application firewall) is a firewall for HTTP applications that enforces rules on web traffic, blocking common attacks such as SQL injection and cross-site scripting before they reach the application. It protects servers, often as a reverse proxy.

The short answer
  • A WAF inspects HTTP requests and blocks those matching attack rules.
  • It often runs as a reverse proxy in front of the application.
  • Generic rules cover common attacks but need tuning as the app changes.

How is a WAF different from a network firewall?

Where each one looks
Network firewallWAF
Looks atIP addresses, ports and protocolsThe content of HTTP requests: URLs, parameters, headers, bodies
Typical ruleAllow TCP 443 from anywhereBlock a request whose parameter looks like SQL injection
Protects againstUnwanted network accessWeb application attacks such as XSS and SQL injection

What are the limits of a WAF?

OWASP describes general rule sets as a base level of protection, not complete coverage.

General coverage only

Generic rule sets such as the OWASP ModSecurity Core Rule Set cover common attacks, not every threat.

Needs maintenance

Customization can take real effort and must be kept up to date as the application changes.

Several delivery forms

A WAF can be an appliance, a server plugin or a filter, each with its own deployment considerations.

Common questions

What does a WAF protect against?

Common web application attacks, including cross-site scripting (XSS) and SQL injection, according to OWASP. Rule sets such as the OWASP ModSecurity Core Rule Set provide a base level of protection, but a WAF does not replace secure coding and patching.

Does a WAF stop DDoS attacks?

Not by itself. A WAF filters application-layer requests. Large volumetric floods need capacity and filtering upstream, typically from a CDN or DDoS protection service. Some products bundle both, so check what your provider includes.

Can a WAF cause false positives?

Yes. Rules can block legitimate requests that resemble attacks, such as a form field containing SQL-like text. Run new rules in a log-only mode first if your product offers it, then review blocked requests before enforcing.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.