"We have a firewall" is one of the most misleading sentences in security, because it hides a question: a firewall protecting what? The tool that stops malicious traffic reaching your servers is not the tool that stops SQL injection reaching your website, and neither is the same as the cloud service that protects a fleet of remote workers. Confusing them is how organisations end up with a locked front door and an open web app.
This article sits under Cybersecurity Basics and completes the architecture trio alongside identity and access management and zero trust architecture.
What a firewall does
At its core a firewall inspects traffic and decides, by policy, what to allow and what to block — a controlled boundary between zones of different trust. The earliest firewalls were packet filters that judged traffic on source, destination and port alone. Stateful firewalls improved on that by tracking the state of each connection, so a reply is recognised as part of a conversation the inside started. That stateful model is the baseline every modern firewall builds on — and where the three types below diverge is in what they inspect and where they sit.
From packet filter to NGFW
A next-generation firewall (NGFW) is a network firewall that looks beyond ports and addresses. On top of stateful inspection it adds:
- Application awareness — recognising the actual application in the traffic (Salesforce, BitTorrent, a database protocol) rather than just "port 443".
- Integrated intrusion prevention (IPS) — matching traffic against known attack signatures and blocking it inline.
- Deep packet inspection, often including TLS/SSL inspection so encrypted traffic can be examined rather than waved through.
- Threat intelligence and user identity — feeds of known-bad indicators, and rules written by user or group rather than IP.
An NGFW is where you control traffic between zones — the internet edge, and increasingly the segment boundaries inside a network. It is the workhorse of network security, but it watches the network, not the logic inside your applications.
Web application firewall (WAF)
A web application firewall (WAF) does a fundamentally different job: it sits in front of a specific web application or API and inspects the HTTP requests reaching it, at layer 7 (the application layer). Where an NGFW asks "should this traffic be on the network?", a WAF asks "is this web request trying to attack my app?" — looking for the injection, cross-site-scripting and abuse patterns catalogued in the OWASP Top 10.[3]
This is the distinction buyers most often miss: an NGFW will happily pass a perfectly valid-looking HTTPS request to your web server, and that request can still carry a SQL-injection payload the NGFW is not designed to understand. Stopping it is the WAF's job. A WAF is closely related to API security — modern WAFs increasingly protect APIs as well as browser-facing apps.
Firewall-as-a-service (FWaaS)
Firewall-as-a-service (FWaaS) is not a new kind of inspection but a new delivery model: firewall capability delivered from the cloud as a service rather than as a box you rack in a data centre. It matters because the shape of the network changed — users, branches and workloads are now everywhere, and backhauling all their traffic to a central appliance to be inspected is slow and expensive. FWaaS inspects traffic in the cloud, close to the user, and scales elastically with demand. It is a core component of SASE, the model that combines cloud-delivered networking and security, and it is how most distributed organisations now consume firewalling.
NGFW vs WAF vs FWaaS
The distinctions in one view — the reason this article exists:
| NGFW | WAF | FWaaS | |
|---|---|---|---|
| What it protects | The network and its segments | A specific web application or API | The network — delivered as a cloud service |
| What it inspects | Traffic: apps, signatures, threat intel, encrypted sessions | HTTP requests for web-app attacks (OWASP Top 10) | The same traffic an NGFW would, but in the cloud |
| Layer | Network to application (L3–L7) | Application layer (L7, HTTP) | Network to application, cloud-delivered |
| Where it sits | At the edge and between internal zones | In front of a web app or API | In the cloud, close to users and workloads |
| Best for | Controlling network traffic and segmentation | Defending internet-facing apps from app-layer attacks | Distributed users, branches and cloud without appliances |
Firewalls and zero trust
A firewall is an enforcement point — the gate that lets traffic through or stops it — not a whole security strategy. In a zero trust architecture, firewalls and microsegmentation enforce the rules, but the decision comes from identity, device posture and context, evaluated per request. A single perimeter firewall with a soft interior behind it is exactly the model zero trust moves beyond. The modern pattern is many small enforcement points — network firewalls between segments, WAFs in front of apps, FWaaS around distributed users — all applying one identity-driven policy.
Firewalls in Singapore
For regulated firms, network firewalls and segmentation are not optional. The Monetary Authority of Singapore (MAS) sets out network-security expectations in its Technology Risk Management Guidelines — firewalls at network boundaries, segmentation of sensitive systems, and intrusion prevention among them.[1] A design that treats the internal network as a single flat, trusted zone will not satisfy them.
For smaller organisations, CSA's Cyber Essentials mark makes the baseline concrete. Its "Secure/Protect" measure covers guarding against malware, enforcing access controls and configuring systems securely — with a correctly set-up firewall and secure network configuration among the essentials expected of any organisation.[2] And any internet-facing application handling personal data under the PDPA is a natural candidate for a WAF, whatever the network firewall in front of it already does.
How to choose
Match the tool to what you are actually protecting, and avoid the mistakes that leave gaps:
- Protecting the network? That is an NGFW — at the edge and between internal segments.
- Protecting an internet-facing web app or API? That is a WAF, in addition to the network firewall, not instead of it.
- Users and workloads spread across cloud and branches? FWaaS — usually as part of a SASE rollout — avoids backhauling everything to an appliance.
- Turn on what you paid for. An NGFW with IPS, TLS inspection and threat feeds left switched off is just an expensive stateful firewall.
- Review the rules. Firewall rule sets rot — stale allow rules are a standard audit finding. Review and prune them on a schedule.
- Remember it is one enforcement point. Firewalls are necessary, not sufficient; pair them with strong identity and a zero-trust design.
Sizing up firewalls or a SASE rollout?
The right mix of NGFW, WAF and FWaaS depends on what you run and where. Compare Singapore cybersecurity providers and managed security services that design and run network defences.
Browse Cybersecurity Providers in Singapore
Frequently asked questions
NGFW vs WAF — do I need both?
Usually yes, because they protect different things. A next-generation firewall guards the network and its segments; a web application firewall guards a specific web app or API from application-layer attacks such as SQL injection and cross-site scripting. An NGFW will pass a valid-looking HTTPS request straight to your web server, payload and all — stopping that is the WAF's job. If you run internet-facing web applications, you want both.
Is a WAF a firewall?
Yes, but at a different layer and for a different target. A WAF is a firewall for web applications: it inspects HTTP requests at the application layer (layer 7) and blocks the attack patterns in the OWASP Top 10, rather than controlling network traffic by port and protocol the way a traditional or next-generation firewall does. Same idea — allow or block by policy — applied to web requests instead of network packets.
What is FWaaS, or a cloud firewall?
Firewall-as-a-service is firewall capability delivered from the cloud rather than as an appliance you rack in a data centre. It inspects traffic in the cloud close to users and workloads, scales elastically, and suits organisations whose users and applications are distributed across branches and cloud. It is a core component of SASE and the way most distributed organisations now consume firewalling.
Does a firewall give me zero trust?
No. A firewall is an enforcement point — it lets traffic through or blocks it — but zero trust is an architecture where the decision comes from identity, device posture and context evaluated on every request. Firewalls and microsegmentation enforce zero-trust policy, but a single perimeter firewall with a trusted interior behind it is exactly the model zero trust replaces.
NGFW vs a traditional firewall — what's the difference?
A traditional firewall filters by source, destination, port and connection state. A next-generation firewall adds application awareness (recognising the actual app, not just the port), integrated intrusion prevention, deep packet inspection including inspection of encrypted TLS traffic, threat intelligence and identity-based rules. In short, an NGFW understands what the traffic is and whether it is malicious, not just where it is going.
If we're all in the cloud, do we still need a firewall?
Yes. Cloud platforms provide their own network controls (security groups and cloud-native firewalls) that you must configure, and distributed users and apps are typically protected with FWaaS as part of a SASE model. Public web applications still need a WAF. "We're all cloud" changes how firewalling is delivered, not whether you need it.
Sources
- Technology Risk Management Guidelines — Monetary Authority of Singapore — official checked 2026-09-01
- Cyber Essentials and Cyber Trust marks — Cyber Security Agency of Singapore — official checked 2026-09-01
- OWASP Top 10 — Open Worldwide Application Security Project — official checked 2026-09-01
Related resources
Go deeper on this topic
Knowledge base
- Cybersecurity Basics: Core Concepts, Controls and How They Fit Together
- Zero Trust Architecture Explained: Never Trust, Always Verify
- SASE in WAN Communication Technology: Where SD-WAN Converges With Cloud-Delivered Security
- API Security Explained: The OWASP API Top 10 and How to Defend Your APIs
- Managed Security Services Explained: MSS, MDR, SOC and SIEM
Vendor directories
Research cluster
Related analysis
Recent TechDirectory Insights coverage from the same research cluster.