Security

What a WAF (application firewall) is and whether you need one

What a WAF (application firewall) is and whether you need one

In short: a WAF (application firewall) is a filter placed in front of the site that inspects incoming requests and blocks those that look like an attack. It is an extra layer of protection that buys time, but does not replace updates or good passwords.

The term WAF shows up in hosting and security plugin offers, but someone rarely explains what it actually does. The easiest way to picture it is as a doorman who checks every guest and does not let in those who are clearly up to no good.

What a WAF does

A WAF (Web Application Firewall) sits in front of your site and analyses incoming requests. When one looks like an attack attempt, for example SQL injection or exploiting a known plugin vulnerability, it blocks it before it reaches the application. That filters out masses of automated attacks, which today make up most criminal traffic.

What a WAF will not do

It is important not to treat it as magic. A WAF can block an attempt to exploit a vulnerability, which buys valuable time, but it does not fix the hole itself. If a plugin is vulnerable, the real solution is an update, and the WAF is only an extra layer. How dangerous unpatched vulnerabilities can be we show in the wave of plugin attacks.

When it truly helps

Not every business-card site needs a WAF, but for a shop, a site with login or customer data it is a sensible investment. It also helps with DDoS attacks, because it rejects bad traffic before it loads the server. The more a site processes and the more it has to lose, the more it pays off.

Where to get one

The easiest is through a service placed in front of the site, like Cloudflare, which has a built-in WAF. There are also security plugins with their own filter and host-side WAFs. The in-front version is usually more effective, because it rejects bad traffic before it even reaches the server. A WAF is nicely complemented by security headers.

We can help choose protection

Not sure whether you need a WAF? We will check the site and suggest what will genuinely raise its security, without overpaying for things you do not need. Get in touch.

Related articles

Frequently asked questions

What is a WAF?

A WAF (Web Application Firewall) is an application firewall, a filter placed in front of the site that inspects incoming requests and blocks those that look like an attack, for example attempts to inject code or exploit a known vulnerability. It works a bit like a doorman who does not let suspicious guests in.

Does a WAF replace updates?

No. A WAF can block an attempt to exploit a vulnerability, which buys valuable time, but it does not fix the hole. The real solution is updates, and a WAF is an extra layer, not a substitute. Treating it as an excuse not to update is a mistake.

Does a small site need a WAF?

Not every one, but it is increasingly useful, because most attacks are automated and hit any target. A WAF filters out masses of bots and attempts using known vulnerabilities before they load the site. For a shop or a site with customer data it is a sensible investment.

Where do I get a WAF?

The easiest is through a service in front of the site, like Cloudflare, which has a built-in WAF. There are also security plugins with their own filter and host-side WAFs. The in-front version is usually more effective, because it rejects bad traffic before it even reaches the server.

Related services

Free security audit

Do not wait for the site to go down

Send us your website address through the form. We will check it for threats and performance, and you get concrete recommendations plus a free security quote.

Request a free audit →

No obligation · Contact via the form · Reply within 1 business day

Looking for a fresh start? We will build your site from scratch, fast and secure. See the MP WebSolutions offer.