惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
J
Java Code Geeks
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
博客园 - 【当耐特】
H
Help Net Security
腾讯CDC
大猫的无限游戏
大猫的无限游戏
GbyAI
GbyAI
Last Week in AI
Last Week in AI
Jina AI
Jina AI
博客园 - 聂微东
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
Y
Y Combinator Blog
C
Check Point Blog
博客园 - 司徒正美
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
OCI Web Application Firewall (WAF) Deep Dive: Architectur...
Bonthu Durga · 2026-05-21 · via DEV Community

Introduction

Modern applications exposed to the internet constantly face threats including SQL injection, bots, DDoS attacks, malicious traffic, and Layer 7 attacks.

OCI Web Application Firewall (WAF) helps protect internet-facing applications by inspecting and filtering HTTP/HTTPS traffic before it reaches backend applications.

What is OCI WAF?

OCI WAF performs Layer 7 traffic inspection, request filtering, threat detection, and policy enforcement before traffic reaches protected applications.

-> It acts like a security checkpoint for web traffic.

Why WAF Is Needed

✔ SQL Injection
✔ Cross-Site Scripting (XSS)
✔ Bot Traffic
✔ DDoS attacks
✔ Credential stuffing
✔ Malicious HTTP requests

Real-world Example

Attacker sends malicious SQL payload
→ Application vulnerable
→ Database compromise possible

WAF helps block malicious requests before they reach applications.

OCI WAF Architecture

Users


OCI WAF

Traffic Inspection


OCI Load Balancer


Application Servers

Understanding Layer 7 Security

Traditional firewalls focus mainly on network traffic.
WAF focuses on HTTP/HTTPS application traffic.

-> OCI WAF operates at Layer 7 of the OSI model.

Layer 7 Examples

✔ URLs
✔ HTTP headers
✔ Cookies
✔ Request payloads
✔ API requests
✔ User agents

Request Inspection Workflow

Traffic Flow

  1. User sends HTTPS request
  2. Request reaches OCI WAF
  3. WAF evaluates rules
  4. Threat intelligence checks executed
  5. Malicious payload detected
  6. Request blocked or allowed
  7. Safe traffic forwarded

OCI WAF Security Policies

WAF policies define how traffic should be inspected and filtered.

Examples
✔ Access rules
✔ IP blocking
✔ Country filtering
✔ Threat protection
✔ Rate limiting
✔ Bot management
✔ CAPTCHA challenges

Rate Limiting

Rate limiting controls excessive traffic requests.

Real-world example:

Bot sends 10,000 login attempts
→ WAF rate limiting blocks abuse

Bot Protection

Not all traffic comes from real users.

Bot Examples
✔ Credential stuffing bots
✔ Scraping bots
✔ Fake traffic generators
✔ Automated attack tools

-> OCI WAF helps differentiate legitimate traffic from automated malicious behavior.

OCI WAF Deployment Models

OCI WAF can be deployed in different architectures depending on traffic flow, security requirements, and application design.

Edge WAF

Traffic inspected closer to internet edge locations before reaching OCI infrastructure.

Regional WAF

Traffic inspection occurs within OCI regional deployment architecture.

Load Balancer Attached WAF

OCI WAF integrated directly with OCI Load Balancer for backend application protection.

WAF + Load Balancer Integration

Users


OCI WAF


OCI Load Balancer


Backend Applications

WAF protects applications before traffic reaches backend infrastructure.

Real Enterprise Scenario

Example:

E-Commerce Platform

Users
→ WAF
→ Load Balancer
→ Web Servers
→ Payment Application
→ Database

Attack Example

Attacker sends malicious login traffic
→ WAF blocks suspicious requests
→ backend remains protected

Common WAF Challenges

✔ False positives
✔ Legitimate traffic blocked
✔ Poor rule tuning
✔ SSL misconfiguration
✔ Missing exclusions
✔ Excessively strict policies

Understanding False Positives

Sometimes legitimate application traffic may match security rules and become blocked accidentally.

Examples :

✔ Complex API payloads
✔ Encoded requests
✔ Search queries with special characters
✔ Custom application parameters

-> Effective WAF deployment requires balancing security and application usability.

WAF vs Traditional Firewall

Traditional Firewall WAF
Network traffic HTTP/HTTPS traffic
IP/Port filtering Application inspection
Layer 3/4 Layer 7
Infrastructure protection Application protection

Observability & Monitoring

WAF visibility is critical for security operations.

Monitoring Areas

✔ Blocked requests
✔ Attack patterns
✔ Bot traffic
✔ Request trends
✔ Security events
✔ Rate limit violations

Enterprise Best Practices

✔ Enable HTTPS inspection
✔ Continuously tune rules
✔ Monitor false positives
✔ Combine WAF with Load Balancer
✔ Enable logging
✔ Review attack trends
✔ Test security policies regularly

Understanding WAF Limitations

Although OCI WAF provides strong Layer 7 protection, it is not a complete replacement for secure application design.

✔ HTTP/HTTPS traffic only
✔ Requires rule tuning
✔ Cannot fully stop business logic abuse
✔ Secure coding still required
✔ Advanced attacks may bypass weak policies

Defense in Depth Security Architecture

Enterprise security should combine multiple security layers rather than relying on a single protection mechanism.

✔ OCI WAF
✔ OCI Network Firewall
✔ NSGs
✔ IAM Policies
✔ Secure Coding
✔ Vulnerability Scanning
✔ Logging & Monitoring
✔ Threat Detection

Conclusion

OCI WAF provides Layer 7 application protection by inspecting, filtering, and securing HTTP/HTTPS traffic before it reaches backend applications.

By combining threat protection, rate limiting, bot mitigation, and traffic inspection, OCI WAF helps organizations improve application security and operational resilience in modern cloud environments.