Skip to content
Free website migration on every plan, done by our team.Learn more ›
Security

What is a web application firewall (WAF)?

What a WAF does, how it blocks SQL injection, XSS and bad bots, the difference between server, plugin and cloud WAFs, and whether a small site needs one.

Short answer: A web application firewall inspects requests to your website and blocks malicious ones, such as SQL injection, cross-site scripting and automated attacks, before they reach your site. WAFs run on the server, as a plugin or in a cloud service in front of your site.

What a WAF blocks

Types of WAF

TypeWhere it runsNotes
Server WAFOn the hosting serverOften included by hosts
Plugin WAFInside WordPressEasy to set up, uses your server's resources
Cloud WAFIn front of your siteAlso filters traffic before it arrives

Does a small site need one?

A WAF is a valuable extra layer, but it doesn't replace updates, strong passwords and backups. If your host already filters attacks at server level, a plugin or cloud WAF adds more protection for login pages and plugins.

Frequently asked questions

Can a WAF block real visitors?

Occasionally. Review blocked requests if customers report problems.

Does a WAF stop DDoS attacks?

Some cloud WAFs include DDoS protection. See DDoS explained.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.