A web application firewall inspects requests before they reach your site and blocks those matching known attack patterns. It is effective against the automated scanning every site receives, and it does nothing about weak passwords, outdated software, or somebody with valid credentials.

What it actually does

It sits between the visitor and your site, examining each request. Requests matching known malicious patterns are blocked before your site processes them.

The distinction from a conventional firewall matters. A network firewall decides which connections are permitted at all. A web application firewall looks at the content of web requests specifically, at the level of what is being asked for.

That lets it catch things a network firewall cannot: an attempt to inject a database command through a form field, a request for a known vulnerable file, or a login attempt pattern that indicates automated guessing.

What it catches

The most valuable of these for a small business is the first. Automated scanning is the mechanism behind most small site compromises, since it finds the site with the outdated plugin rather than targeting it deliberately.

What it does not catch

Being clear about this prevents the false confidence that is the main risk of installing one.

It does not help against a weak or reused password on an account with valid access. It does not help if someone is phished and their credentials are used legitimately. It does not fix outdated software; it only makes the vulnerability harder to reach.

It also does not stop a compromise that arrives through a route it does not inspect, such as a hosting account login or an infected file uploaded through legitimate access.

So it is one layer. A site with a firewall and an unmaintained content system, an administrator password reused from another site, and no two-factor authentication is still exposed, and the firewall may make that feel less urgent than it is.

The forms it comes in

TypeHow it works
Network basedTraffic routes through the provider before reaching your server. Filtering happens off-site.
Host basedProvided by your hosting company, running on the server itself
Plugin basedRuns inside your content system, after the request has already reached it

The differences matter. Network based stops traffic before it consumes any of your server resources, which is why it also mitigates volume attacks. Plugin based has already used your resources by the time it decides, which limits what it can protect against.

For a small business, a network-based service is frequently already available bundled with a content delivery network, which means the firewall may be a setting to enable rather than a product to buy.

The false positive problem

The practical cost, and the one that causes support calls.

Rules that block malicious patterns sometimes block legitimate ones. The common symptoms are a form submission rejected because the message contained something resembling code, an administrator unable to save a page, or a file upload refused.

These are frustrating because the failure is silent from the visitor's perspective. An enquiry that was blocked simply never arrives, and nobody knows.

Two protections: start in a monitoring mode where the firewall logs what it would have blocked without blocking it, and check the blocked log periodically for anything that looks like a real customer.

That second habit is worth building, because a firewall quietly rejecting enquiries is worse than not having one.

Whether a small site needs one

It depends more on what the site runs than on its size.

A hand-built static site with no database, no login, and no forms has very little for a firewall to protect. The attack surface is close to nothing.

A site running a content management system with plugins, a login, and forms is the standard target for automated scanning, and a firewall is genuinely useful there. That covers most small business sites.

The honest ordering is that updates, strong unique passwords, and two-factor authentication matter more, and a firewall is a worthwhile addition once those are in place rather than a substitute for them.

What to check before enabling one

That last test is the one to do the same day. Submit your own form with a long message containing punctuation and confirm it arrives, since the alternative is finding out weeks later that enquiries stopped, which is the same silent-failure category as anything else that breaks without an error, as covered in the day after a site is compromised.


Frequently asked questions

What is a web application firewall?

A filter sitting between visitors and your site that inspects the content of web requests and blocks those matching known attack patterns before your site processes them.

What does it protect against?

Automated vulnerability scanning, injection attempts through forms, requests for known vulnerable paths, brute force login attempts, and known malicious sources.

What does it not protect against?

A weak or reused password on an account with valid access, phished credentials used legitimately, or a compromise arriving through your hosting login. It makes vulnerabilities harder to reach rather than fixing them.

Does a small business site need one?

It depends on what the site runs. A static site with no database or login has little to protect. A content system with plugins, a login, and forms is the standard target, so it is genuinely useful.

What is the main practical problem?

False positives. A form submission containing something resembling code can be rejected silently, so an enquiry simply never arrives and nobody knows.

How should I introduce one safely?

Start in monitoring mode so it logs what it would have blocked, check that log for anything resembling a real customer, and test your own forms the same day you enable it.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Site running a content system with no filtering in front of it?

We check whether your host already provides one, enable it in monitoring mode first, and make sure it is not rejecting real enquiries.

Start a Conversation