A web application firewall, usually shortened to WAF, is one of those hosting features that gets listed alongside a dozen others and rarely explained. It has a specific, useful job: inspecting the requests sent to your website and blocking the ones that look like an attack before they reach your application.
What a WAF is actually looking at
Every visit to a website is a request, a small package of information telling the server what page to load, what data to submit, or what action to take. A WAF sits in front of the website and examines these requests as they arrive, checking them against patterns known to be malicious before deciding whether to let them through.
This is different from a general network firewall, which mostly controls which ports and IP addresses can connect to a server at all. A WAF works one layer up, at the level of the actual content of a web request, which is where attacks aimed specifically at websites and web applications tend to happen.
The kinds of attacks it filters
- SQL injection: requests crafted to manipulate a website's database through a form field or URL parameter.
- Cross-site scripting (XSS): requests trying to insert malicious scripts that run in another visitor's browser.
- Malicious bot traffic: automated requests scanning for known software vulnerabilities across many sites at once.
- Suspicious file upload attempts: requests trying to disguise executable code as an ordinary file upload.
- Known exploit patterns: requests matching the signature of a specific, previously identified vulnerability.
None of these require the attacker to know anything specific about your particular website first. Most are automated and aimed at large numbers of sites simultaneously, looking for the ones running outdated or misconfigured software. A small or new website is not too unimportant to be targeted; it is simply targeted by the same automated scans as everyone else.
Why this matters even without custom code
It is a common assumption that a WAF only matters for websites with custom-built applications, since that is where vulnerabilities like SQL injection are usually discussed. In practice, most small business websites run on content management systems like WordPress, built from dozens of third-party plugins and themes, any one of which can introduce a vulnerability the site owner never wrote and may not know exists. A WAF filters attacks aimed at those vulnerabilities too, without needing to know which specific plugin is affected.
Where the WAF actually runs
On most modern hosting, the WAF operates at the server or network edge, before a request reaches the website's actual code. This means it can block obviously malicious requests without the website's own software doing any extra work, and without slowing down legitimate visitors, since well-formed requests pass through with negligible added delay.
What a WAF does not do
A WAF filters incoming requests; it does not back up your site, scan existing files for malware already present, or stop a legitimate but compromised admin account from making damaging changes. It is one layer in a broader security setup, working alongside malware scanning, backups and basic account security practices like unique passwords and two-factor authentication.
Do you need to configure anything?
On hosting where a WAF is included at the platform level, it typically runs automatically with no configuration needed from the site owner. Occasionally, a WAF rule can be strict enough to block a legitimate but unusual request, such as a custom form submission with an atypical structure; if a real feature on your site suddenly stops working after a change, checking whether a WAF rule is involved is a reasonable early step, and hosting support can usually adjust a specific rule without turning protection off entirely.
The short version
- A WAF inspects incoming web requests and blocks patterns known to be malicious.
- It protects against common, automated attacks that target any website, not just custom-built ones.
- It runs before requests reach your application, adding protection without needing site-level changes.
- It complements, rather than replaces, updates, backups and malware scanning.
It is one of the least visible parts of hosting security, precisely because it is meant to work quietly in the background, blocking the traffic you never see rather than reacting to damage after it happens.
Choose hosting that fits the site.
Compare the shared hosting plans or explore the separate WordPress optimized range.