Locking down your JavaScript: positive blocking with Page Shield policies
Mar 13, 2023Michael Tremante

Summary
Introduces Page Shield policies for positive blocking of client-side JavaScript execution and data destinations. Leverages CSPs (specifically script-src and soon connect-src) to enforce allowed sources. Simplifies policy creation with a suggestions feature based on Page Shield data and wirefilter syntax. Supports report-only and enforcement modes.
More from the Website Security & Threat Management trail
- We tested our own WAF with frontier AI models. Here’s what we found
- When scanners miss the attack: how Cloudflare Client-Side Security protects storefronts
- Introducing automatic remediation policies with Cloudflare CASB
- Introducing context-aware vulnerability discovery and remediation with Cloudflare Managed Defense and OpenAI Daybreak Models
- Introducing Adaptive Intelligence: undermining the economics of every bot attack