info@soykanbilisim.com.tr +90 535 011 07 27 Pzt–Cum 09:00–18:00 · Cmt 09:00–13:00

What Is a WAF? Why a Network Firewall Isn't Enough to Protect Your Website

What does a web application firewall (WAF) block, and what doesn't it? The OWASP Top 10:2025 risks, Cloudflare's free rules and how to roll out a WAF the right way.

What Is a WAF? Why a Network Firewall Isn't Enough to Protect Your Website

Your server has a firewall and only ports 80 and 443 are open. But what if a malicious request to your website comes in through the very port 443 you left open?

A network firewall can't stop it, because in its eyes this is an ordinary web request to an allowed port. That's where a WAF (Web Application Firewall) comes in.

What does a WAF do?

A WAF inspects the content of the HTTP requests coming to your site. It recognises an SQL command typed into a form field, a malicious script appended to the address bar, or a request targeting a known software vulnerability, and blocks it before it reaches your site.

In short:

  • Network firewall: answers "who can connect to this port?"
  • WAF: answers "what is inside this web request, and is it malicious?"

They are not alternatives; they complement each other.

Which attacks does a WAF protect against?

The most widely used reference in web application security is the OWASP Top 10. In the 2025 edition the most critical risks are ranked as follows:

  • A01 Broken Access Control
  • A02 Security Misconfiguration
  • A03 Software Supply Chain Failures
  • A04 Cryptographic Failures
  • A05 Injection (SQL injection, XSS, etc.)
  • A06 Insecure Design
  • A07 Authentication Failures
  • A08 Software or Data Integrity Failures
  • A09 Security Logging and Alerting Failures
  • A10 Mishandling of Exceptional Conditions

What stands out is that security misconfiguration has risen to second place. In other words, a large share of attacks come not from the software itself but from wrong settings.

A WAF is especially effective against injection attacks, automated scans targeting known vulnerabilities and malicious bots. But it can't close every risk on its own: an access-control flaw that lets one user see another user's data, or a weak password policy, are application-logic problems a WAF can't see.

The "virtual patching" advantage

When a new vulnerability is announced in a plugin or piece of software you use, your site is at risk until you install the update. A well-managed WAF buys you time by quickly blocking requests that target that vulnerability. It does not replace updating; it only makes the gap in between safer.

Can you start for free?

Yes. Cloudflare, for example, offers a managed ruleset called the Free Managed Ruleset on all plans, including the free one. Cloudflare updates it against wide-reaching, high-impact vulnerabilities, and it is enabled by default on the free plan. More comprehensive rulesets (the Cloudflare Managed Ruleset, the OWASP Core Ruleset) are part of the paid plans.

Even on the free plan you can:

  • Block your admin panel's address for everyone except certain countries or IP addresses
  • Add bot protection to your forms (for example Cloudflare Turnstile)
  • Show an extra challenge to suspicious traffic

Things to watch when rolling out a WAF

  • Start in log-only mode. Putting new rules straight into blocking mode can block real visitors by mistake (*false positives*). Review the logs for a while, then switch to blocking.
  • Hide your server's real IP address. If your WAF runs through a service like Cloudflare and an attacker learns your server's IP address, they can skip the WAF and go straight to the server. Opening the web ports in your server firewall only to your WAF provider's IP addresses closes this gap.
  • Review the logs regularly. Seeing which attacks are being tried gives valuable hints about which software you need to update.

Conclusion

A network firewall locks the door; a WAF checks the bag of everyone trying to walk through it. If you run a website or an online store, you need both.

Let's set up your site's WAF and Cloudflare configuration together: our Security & Domains service or contact us.

Back to all posts Share on WhatsApp

Let's plan your project together

Tell us what you need; we'll send you the right solution and a clear quote the same day.

Chat with us