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.