What a web application firewall does

Up Speed

Up Speed

Security
What a web application firewall does

Firewall is one of those words that gets used constantly and explained almost never. Your host mentions one. A plugin advertises one. Cloudflare offers one. None of them mean quite the same thing, and it is hard to tell whether you already have what you need.

So here is the plain version.

What it actually is

Every visit to your website is a request. Your server receives it, WordPress works out what to send back, and the page loads. A web application firewall, WAF, sits in front of that process and reads each request before WordPress ever sees it.

It is checking for requests that are not trying to view a page but trying to do something to your site. Injecting database commands. Uploading a file where files should not go. Probing for a vulnerable plugin. Hammering the login form.

Anything matching a known attack pattern gets blocked. Everything else passes through, and your visitors never know it happened.

Think of it as a doorman who has memorised every known trick, standing between the street and your front desk.

The attacks it is built to stop

  • SQL injection. Malicious database commands hidden inside form fields or URLs, aiming to read or dump your data.
  • Cross-site scripting. Injected JavaScript that runs in your visitors' browsers, often to steal sessions or redirect them.
  • Brute-force login attempts. Repeated password guesses get rate-limited or blocked at the source.
  • Known plugin exploits. This is the valuable one. A good WAF gets rules for newly published vulnerabilities fast, so the specific attack is blocked even if you have not applied the plugin update yet.
  • Malicious file uploads. Attempts to drop a PHP backdoor into your uploads folder.
  • Bad bots and scrapers. Traffic that costs you resources and delivers nothing.

That fourth point is worth sitting with. A firewall buys you a window of protection between a vulnerability becoming public and the patch being applied to your site. It does not replace updating. It gives updating room to breathe.

The two kinds, and why it matters

An endpoint firewall runs inside WordPress, as a plugin. Wordfence works this way. Because it lives in WordPress, it knows your users, your plugins and your file structure, so it can make smarter decisions and catch things a network-level filter cannot. The trade-off is that the request has already reached your server before it gets blocked.

A cloud firewall sits out on the network, in front of your host, filtering traffic before it arrives at all. Better for absorbing large floods and saving server resources, but it has less context about what is happening inside your site. Usually it requires pointing your DNS at the provider.

Neither is strictly better. They catch overlapping but different things, and plenty of serious setups run both.

What a firewall will not do for you

This is where the marketing tends to go quiet, so let us be direct.

A WAF does not stop someone logging in with a password they stole. That request is valid. It looks exactly like you.

It does not clean an existing infection. If malware is already on the server, a firewall is a doorman arriving after the burglary.

It does not catch a genuinely novel attack that nobody has written a rule for yet, and it does not protect you from a plugin you installed that was malicious to begin with.

And it does not remove the need for updates. It reduces the urgency slightly. That is all.

The fix: treat a firewall as one layer. Underneath it you still need current plugins, strong passwords with two-factor, off-site backups, and someone reading the malware scan results.

The part nobody warns you about: it needs tuning

An out-of-the-box firewall in aggressive mode will eventually block something legitimate. Your payment gateway's callback. A customer with an unusual browser. Your own contact form. You then get a support message saying the site is broken, and the cause is invisible unless you know to check the firewall log.

Set too permissively and it waves through things it should not. The correct setting is somewhere in between, and it depends on what your site actually does.

This is why a firewall that is installed and forgotten is worth much less than one that is configured for the site and reviewed when the site changes. Most firewalls on small business sites are the first kind.

Getting one that is actually looked after

On Up Speed, the Wordfence firewall is set up and maintained as part of the Professional plan, together with iThemes hardening, two-factor login and blacklist monitoring. Configured for your site, rules kept current, and blocked-request activity reviewed rather than left to pile up in a log nobody opens.

Malware scanning, 24/7 uptime monitoring, tested updates and scheduled off-site backups run on every plan, because a firewall on its own was never the whole answer.

We will not tell you a firewall makes a site secure. It closes a specific and very common category of attack, quietly, before it reaches WordPress. Combined with the boring maintenance underneath it, that is most of the job done.

Share this post

Start with a free WordPress site audit.

Send us your site and we will check its speed, security, backups, and update status, then write up what we found. A real person does the review.

  • No credit card required

  • No contracts, cancel anytime