Skip to main content

Website protection

Web Application Firewalls

A web application firewall, or WAF, sits in front of an application and evaluates requests. It can reduce some malicious traffic but does not make vulnerable code safe.

Plain-English guidance · Last reviewed 24 July 2026

On this page

The business case

Why it matters

A WAF can block known attack patterns, abusive clients and unwanted regions or rates before traffic reaches the origin. It may provide a useful temporary layer while a proper application fix is tested.

Rules operate without full business context. A strict rule can block customers, while a broad exception can reopen the weakness. Logs, tuning and a clear owner are essential.

Know the exposure

Common risks

01

Bypass or origin exposure

Traffic that reaches the origin directly may avoid the WAF if network and DNS design do not enforce the intended path.

02

False positives

Legitimate uploads, APIs, checkout requests or administrator actions may resemble an attack pattern.

03

Patch delay

A virtual patch can become a permanent excuse to leave vulnerable application code unresolved.

Investigate, do not ignore

Warning signs

  • The origin server remains publicly reachable outside the intended WAF route
  • Rules are enabled without testing key forms, APIs, checkout or administration
  • Large allowlists and permanent exclusions have no owner or expiry
  • Blocked-request logs are not reviewed and alerts go nowhere
  • The WAF is described as a replacement for updates, access control or secure development

Reduce likelihood and impact

Practical steps

  1. 01

    Define the purpose

    Identify which applications, endpoints and threats the WAF should address and what customer impact is acceptable.

  2. 02

    Map the traffic path

    Confirm DNS, proxy, certificate and origin arrangements and restrict direct origin access where the architecture supports it.

  3. 03

    Observe before enforcing

    Use detection or staged rollout where appropriate, baseline legitimate traffic and test critical journeys before broad blocking.

  4. 04

    Tune and monitor

    Review logs, investigate false positives, limit exceptions and give temporary rules an owner and expiry date.

  5. 05

    Fix the application

    Patch vulnerable dependencies and code, protect accounts and keep secure development and recovery controls in place.

Defined website support

How AHANIX can help

AHANIX can help assess whether a WAF fits the website architecture and coordinate ordinary setup with the hosting or edge provider.

  • Map the public website, DNS, certificate and origin path
  • Test important website journeys against staged provider rules
  • Document website-level exceptions and the application fixes they must not replace

Clear limits

What this cannot guarantee

  • A WAF cannot guarantee that every malicious request will be blocked or every legitimate customer request allowed.
  • AHANIX does not operate continuous WAF threat hunting or promise protection against application logic flaws, stolen credentials, origin compromise or provider failure.

Continue with existing resources

Relevant tools and guides

These links use existing AHANIX tools and guides for the next useful check or deeper explanation.

Common questions

Web application firewalls questions

Does every website need a WAF?

Not necessarily. The value depends on application risk, exposure, hosting architecture, provider capability and the team’s ability to monitor and tune it.

Can a WAF replace software updates?

No. A rule may reduce exposure or buy time, but the vulnerable component should still be patched, removed or replaced.

Will a WAF stop distributed denial-of-service attacks?

Some edge providers include traffic-absorption and rate controls, but capability and limits vary. A WAF rule alone is not a guarantee against every denial-of-service event.

A scoped next step

Decide whether a WAF fits the website

AHANIX can map the traffic path and help test provider controls without treating them as a substitute for application maintenance.

Discuss the website architecture

Continue in the Security Centre