Skip to content
BENIBIX Learn

Web Application Firewall (WAF)

Infrastructure🔒 SecurityDefences

Also known as WAF, Web App Firewall, WAF Rules

A filter that reads each web request. It blocks known tricks used on websites.

Think of it like

It is like a guard who opens each box at the door. A bad thing hid inside gets caught.

Example

Lucy's shop has a WAF in front of it. A bot sends a search box full of SQL code. The WAF spots the trick and blocks the request before the shop sees it.

Why it matters

Web attacks come in through port 443, which a normal firewall must leave open. A WAF guards that open door.

Definition

A web application firewall is a filter that reads web requests before they reach a website. A normal firewall only checks where traffic comes from and which port it uses. A WAF looks inside each request for known tricks, like SQL injection or cross-site scripting. It blocks the bad requests and lets the rest through. It can run in front of one site, or as a service in front of many.
The firewall lets both through on port 443. The WAF reads inside and stops the one hiding an attack.

Common mistake

Thinking a WAF fixes weak code. It blocks known tricks, but a new one can slip past, so the app still needs fixing.

Key takeaways

  1. 1
    Reads the request. Not just the port and address.
  2. 2
    Known tricks. Rules match common web attacks.
  3. 3
    Extra layer. It does not replace safe code.