A deepfake attack happens every 5 minutes+62% of organisations were hit by deepfakes last year+Security for AI: detection in under a second+Cloud waste hit 29% in 2026, driven by AI workloads+Cost Optimisation for AI: cut 30-40% of spend+Essential Eight, SOCI & CPS 234: audit-ready in weeks+Book a discovery call, get a free POC+A deepfake attack happens every 5 minutes+62% of organisations were hit by deepfakes last year+Security for AI: detection in under a second+Cloud waste hit 29% in 2026, driven by AI workloads+Cost Optimisation for AI: cut 30-40% of spend+Essential Eight, SOCI & CPS 234: audit-ready in weeks+Book a discovery call, get a free POC+
JournalArticle

How to Implement a Web Application Firewall

How to Implement a Web Application Firewall

A public-facing application can be compromised without an attacker ever reaching your internal network. A vulnerable login form, exposed API, poorly handled file upload or bot-driven credential attack is enough. To implement web application firewall controls properly, treat the work as an application risk programme, not a box to tick in the security stack.

For Australian organisations managing customer data, regulated workloads or critical digital services, a WAF can reduce the attack surface quickly. It can also create a false sense of security when deployed in monitoring mode, configured with generic rules, or left without clear ownership. The difference is operational discipline.

Start with the applications that matter

Do not begin by routing every web property through a WAF. Begin with an inventory that identifies what is public, what data it processes and what failure would cost the business.

Prioritise customer portals, payment workflows, partner platforms, administration consoles, authentication endpoints and public APIs. Include applications delivered by third parties where your organisation remains accountable for data handling and service continuity. Shadow APIs and legacy subdomains are common gaps because they are often absent from the formal application register.

For each application, establish the business owner, technical owner, hosting location, expected traffic patterns, authentication method and sensitivity of data. This creates the context required to configure rules without disrupting legitimate activity.

The first deployment candidate should be a high-value application with a stable release process and an accountable owner. Avoid making your most fragile legacy system the pilot unless it represents an immediate risk. A controlled pilot provides useful tuning data and builds confidence before wider rollout.

Choose the right WAF deployment model

A WAF is not one deployment pattern. The right model depends on architecture, traffic volume, application ownership and the level of control your team requires.

A cloud-based WAF placed in front of internet-facing applications is often the fastest option for organisations using SaaS, public cloud or distributed infrastructure. It can provide global traffic filtering, DDoS mitigation, bot controls and managed threat intelligence without adding appliances to a data centre.

A reverse-proxy or gateway-based WAF may suit organisations that need closer integration with application delivery, identity controls or network policy. For containerised and API-heavy environments, a WAF capability integrated with ingress or an API gateway can be effective, provided security and platform teams agree on ownership.

Host-based WAFs can offer application-level visibility, but they add operational overhead and may be difficult to standardise across varied workloads. They are usually a specialist option rather than the default enterprise approach.

The commercial decision matters as much as the technical one. Compare pricing models against normal traffic, seasonal peaks, API request volume and expected growth. A low entry price can become expensive when billing is tied to requests, bandwidth or advanced bot management features.

Define the controls before switching on blocking

Most WAF failures come from deploying broad rules in blocking mode without understanding application behaviour. Start in detection mode where practical, but set a defined transition period. Monitoring forever is not a security outcome.

Your baseline policy should address the threats most likely to affect web applications:

  • Common injection attempts, including SQL injection and command injection.
  • Cross-site scripting and malicious file upload activity.
  • Known exploit patterns targeting outdated frameworks and components.
  • Credential stuffing, brute-force authentication attempts and account enumeration.
  • Abusive bots, scraping and automated fraud where these create commercial or privacy risk.
  • Rate limits for login, password reset, API and high-cost transaction endpoints.

Use managed rule sets as a starting point, not the final configuration. They provide coverage for known attack patterns, but they cannot understand your business logic. A WAF will not stop an authenticated user abusing a legitimate workflow unless you define the relevant behavioural and rate controls.

Custom rules should be tightly scoped. For example, restrict administrative paths by network or identity context, enforce request limits on an account recovery endpoint, or block unexpected methods on a sensitive API. Broad custom signatures are hard to maintain and can introduce outages.

Protect APIs as deliberately as web pages

Modern applications increasingly expose more risk through APIs than browser-based interfaces. If the WAF only inspects website traffic while APIs bypass it through a separate endpoint, the control is incomplete.

Map API domains, versions, methods and authentication models. Confirm that encrypted traffic is inspected where appropriate and that the WAF can evaluate requests without breaking legitimate integrations. Apply allow-lists carefully. Permanent IP allow-lists for suppliers, mobile apps or cloud services often become unmanaged back doors.

Rate limiting needs business context. A public product catalogue may tolerate high request volumes. A login endpoint, quotation engine or transaction API should have much tighter thresholds. Consider controls per IP address, user account, device signal, API key and geography. No single signal is reliable on its own.

Where an API has a documented schema, validate methods, content types, request sizes and expected parameters. This is more effective than relying only on generic signatures because it removes unnecessary request paths before an exploit pattern is even assessed.

Tune against real traffic, not assumptions

Once the WAF is observing traffic, security teams need a structured tuning process. Review alerts alongside application owners and assess whether requests are malicious, suspicious or legitimate. False positives are expected during implementation. Repeated false positives are a process problem if they are not recorded, assigned and resolved.

Create an exception register with the rule, affected application, business justification, owner, approval date and expiry date. Exceptions without expiry dates tend to become permanent weaknesses. Where possible, narrow an exception to a URL, parameter or method rather than disabling a rule category across the application.

Test major user journeys before enforcement. Include account registration, login, password resets, file uploads, checkout or payment actions, integrations and administrative workflows. Test from external networks and common mobile conditions, not only from a corporate office connection.

Blocking should be introduced in stages. Start with high-confidence malicious patterns, then enable protections for individual applications or endpoints. Track rejected requests, application errors, support tickets and conversion-impacting failures. Security controls should reduce risk without quietly damaging revenue or customer access.

Integrate WAF operations into security response

A WAF produces useful telemetry only when it reaches the people and processes that can act on it. Send meaningful security events to your central logging or SIEM platform. Correlate WAF activity with identity events, endpoint alerts, cloud logs and application logs to distinguish random scanning from a focused attack.

Define who responds to blocked attack attempts, apparent rule bypasses, elevated bot traffic and denial-of-service events. The answer may differ between an internal security team, an MSP, a platform engineering function and an application vendor. What matters is that escalation paths and response timeframes are explicit.

WAF logs should also inform vulnerability management. If attackers repeatedly target a framework weakness or exposed administrative path, investigate the underlying application issue. A WAF can provide time to patch, but it is not a replacement for secure development, dependency management, MFA, network segmentation or tested incident response.

For organisations working towards ISO 27001, SOC 2, Essential Eight maturity or obligations such as APRA CPS 234, retain evidence of policy reviews, rule changes, testing and incident handling. Auditors and customers are looking for operating effectiveness, not merely proof of purchase.

Measure the business outcome

A WAF programme should be reported in terms that security, technology and business leaders can use. Track the number and severity of blocked attacks, time to tune new applications, coverage of internet-facing assets, unresolved exceptions and the rate of security incidents reaching application teams.

Also measure operational friction. If releases regularly break because WAF changes are not included in the deployment process, the control is being managed as an afterthought. Build WAF policy review into change management and application release workflows. Mature teams treat this as part of application delivery, not an emergency security task.

The most effective WAF deployment is the one your team can operate consistently. Start with priority applications, establish accountable ownership, tune against actual traffic and expand coverage with evidence. If you need an independent view of architecture, operational workload or the right specialist capability, book a Discovery Call.

Technow

Like what you read?

Talk to us about security for AI, cloud cost optimisation, compliance, or the specialist talent to deliver it.

Book a discovery call