Photo: Ilya Pavlov / Unsplash
Web applications and APIs are increasingly the top target for attacks. Everything a business puts online, from a storefront and an internal portal to the APIs that connect it to partners, is a door that can be probed and exploited. WAAP (Web Application and API Protection) is the defense layer that blocks most of those attacks before they ever reach your application code. This article explains what WAAP is, what each protection component does, when an organization actually needs it, and a checklist for getting started.
What is WAAP?
WAAP is the next generation of the web application firewall (WAF), protecting both web apps and APIs against threats such as injection, session hijacking, malicious bots and API abuse. Where a traditional WAF mostly filters HTTP traffic to web pages, WAAP widens the scope to cover the API endpoints that make up a growing share of traffic in modern applications.
It helps to picture WAAP as a gatehouse placed in front of your application. Every incoming request is inspected: where does it come from, does it carry signs of an attack, is it a bot scanning for weaknesses, and does it exceed reasonable limits? Clean requests pass through; suspicious ones are blocked or slowed down. The application behind it only has to handle traffic that has already been filtered.
WAAP typically bundles four core capabilities:
- WAF (web application firewall): detects and blocks attacks against the application layer, such as SQL injection, cross-site scripting (XSS), path traversal and common exploitation patterns.
- DDoS protection and rate limiting: absorbs or throttles abnormal traffic surges, stopping a single source or a coordinated network from flooding the service until it fails.
- Bot management: tells real users apart from automated bots, blocking credential stuffing, data scraping and other machine-driven abuse.
- API protection: applies per-endpoint rules, controls call rates and blocks bulk queries designed to drain data through the API.
Why businesses need WAAP
Applications and APIs are the largest publicly exposed attack surface most organizations have. A few reasons this defense layer matters:
- A large attack surface: every API is a door that must be guarded, and a modern system often has dozens to hundreds of endpoints.
- Automated attacks: bots scan for vulnerabilities non-stop; a freshly deployed service can be probed within hours of going live.
- Data leakage risk: a single application flaw can expose all your customer data, with financial and reputational fallout.
- Compliance pressure: as an organization handles personal data, being able to show reasonable technical safeguards is increasingly a practical requirement.
WAAP does not replace writing secure code or patching flaws, but it buys time and limits damage. When a new vulnerability is disclosed, WAAP can block the exploit pattern immediately while your team prepares a fix. It is a layer of defense in depth, not a silver bullet.
Why self-host and on-prem matter
Many WAAP services run on a foreign vendor's cloud, which means all your traffic, including sensitive data, has to detour through a third party's infrastructure before reaching your application. For many organizations in Vietnam, especially the public sector, finance, and any business handling personal data, this raises questions about data sovereignty and latency.
A self-hosted or on-prem WAAP addresses that concern by keeping all traffic inside infrastructure the organization controls:
- Data never leaves your system: traffic is inspected within your own network rather than passing through an external cloud.
- Full control over configuration: your team sets and tunes the rules directly, without depending on the policies or pricing of a SaaS platform.
- No vendor lock-in: you are not tied to a closed ecosystem and can keep operating the system on your own for the long term.
- Fit for internal networks: for systems running on a dedicated network or not directly connected to the Internet, an on-prem WAAP is often the only workable option.
This is also the direction of Orca WAAP, Tetra's self-host WAAP: it bundles WAF, DDoS protection, bot management and API protection into a reverse proxy placed in front of your application, running on your own infrastructure.
Deploying it as a reverse proxy
WAAP is usually deployed as a reverse proxy: it sits between users and the application, receiving every incoming request and forwarding only the legitimate part to the application server behind it. This layout has several practical advantages.
The original application needs no code changes; you simply route the domain or traffic flow through the reverse proxy. All inspection, filtering and logging is concentrated at a single point, which makes it easier for the operations team to monitor. The reverse proxy can also handle TLS termination, light load balancing, and hide the internal infrastructure layout from an attacker's view.
The thing to watch is that the reverse proxy sits on the path of every request, so it must be configured carefully for performance and availability. A rule that is too strict can block real users; a misconfiguration can become a bottleneck. So it is best to roll it out in stages: run it in log-only mode first, observe real traffic, then gradually tighten the blocking rules.
When an organization needs WAAP
Not every system needs WAAP from day one, but there are signs that the time has come:
- Your application or API is directly exposed to the Internet and serves external users.
- The system processes personal data, payment information, or sensitive business data.
- You publish APIs for partners or a mobile app, which increases the number of endpoints to protect.
- Server logs show scanning traffic, unusual login attempts, or unexplained traffic spikes.
- Compliance requirements or contracts oblige you to have application-layer protection in place.
If your system fits one of these cases, WAAP belongs in your defense plan. It is one piece of the broader security picture we lay out in our cybersecurity defense strategy for Vietnamese businesses.
A checklist for getting started with WAAP
- Map your attack surface. List every public web application and API endpoint, including old services no one pays attention to.
- Put WAAP in front of public services. Route traffic through the reverse proxy so every request passes the inspection layer.
- Monitor first, block later. Run in log-only mode to learn what normal traffic looks like, then tighten the rules to avoid false positives.
- Enable the core rule sets. Turn on protection against injection, XSS and common attack patterns first, then tune per application.
- Set rate limits for APIs. Apply sensible call limits per endpoint to curb abuse and bulk data extraction.
- Monitor and alert. Review logs regularly and set alerts for abnormal spikes in blocks so you catch a campaign early.
- Keep the rules updated. Threats change constantly, so the rule set needs to stay current with new exploit patterns.
WAAP is one layer in a defense-in-depth strategy, not the only solution. It works best alongside secure coding, timely patching, and infrastructure monitoring.
If your organization wants to keep all traffic inside its own infrastructure, Tetra's Orca WAAP is a self-host option worth considering: the binary and documentation are free, with a support package available when you need to run it at production scale.
Related articles

Securing Dokploy: adding a WAF and IPS on the server itself
A default Dokploy install runs fine but is not safe: Traefik is not a WAF, Docker bypasses UFW, DNS-only domains leak the origin IP. Three gaps and how to close them on your own host.
Read ↗
Vietnam's 2025 Cybersecurity Law: 5-level system classification and what to do
From 1 July 2026, Cybersecurity Law 116/2025 merges two prior laws, codifies "data security" and classifies systems into 5 levels. The new obligations and what to do.
Read ↗
Hansoll hit by ransomware: how manufacturing and FDI firms defend
The ransomware case targeting Hansoll Textile shows manufacturing and FDI firms are also targets. Practical defense lessons for manufacturers.
Read ↗Personal Data Protection checklist
Review your business before the law takes effect on 01/01/2026.
