SEPTEMBER 2026 · THE TOOL DESKPractical technology. No theatre.

Practical guide · verified against the real thing

What a WAF (web application firewall) is, and whether a small site needs one

In one line: A WAF filters the requests your site actually receives, blocking the attacks that target your application rather than your network. Here is what it does and when it is worth turning on.

A regular firewall guards a network's edges; a web application firewall guards your website specifically. It sits in front of your site and inspects each incoming HTTP request, blocking the ones that look like attacks before they reach your application. For a small site the question is not whether a WAF is good — it is whether you need one separately, or whether the one bundled with your CDN and host already covers you.

What it actually blocks

A WAF filters application-layer attacks: SQL injection (tricking your database), cross-site scripting (injecting malicious script into your pages), malicious bots, and request patterns that no legitimate visitor would send. It is a different job from DDoS mitigation, which handles raw volume (DDoS protection); a WAF handles malicious content. Many small sites benefit from both, and both are usually features of the same product.

You may already have one

This is the key point for small sites: if your site is behind a major CDN or a managed host, a basic WAF is very often already there, sometimes just switched off. So before buying anything, check what your provider includes and enable it. A dedicated enterprise WAF with custom rule-tuning is for large or high-risk applications; a small site usually needs the bundled one turned on and left at sensible defaults, not a separate purchase.

What a WAF is not

It is not a substitute for a secure application. A WAF catches common patterns, but it cannot fix a fundamental vulnerability in your code, and a determined attacker may find a path around it. So it is one layer, not the whole defence — the layer that sits alongside security headers, keeping software patched (patch management), and the zero-trust mindset of verifying rather than assuming (zero trust for small teams). Turn on what your provider already gives you, and treat it as a net that catches the common case — not a reason to stop writing careful code.

Sources

Next

Related on this desk.