---
title: Client-Side Security
description: Cloudflare Client-Side Security defends against browser supply chain attacks. Simplify PCI DSS compliance, block Magecart-style attacks, and more.
image: https://www.cloudflare.com/preview.png
---

 Client-Side Security 

##  Client-Side Security 

###  Backed by Cloudflare's world-class threat intelligence and machine learning capabilities, Client-Side Security helps defend against browser supply chain attacks that target vulnerable JavaScript dependencies. Simplify PCI DSS compliance, block Magecart-style attacks, and boost visibility into web resources. 

[  Talk to an expert ](https://www.cloudflare.com/resource/contact-enterprise-sales/) [  Get started ](https://dash.cloudflare.com/sign-up) 

**Intelligent attack prevention** 

Machine learning-based protection and threat intelligence drawn from protecting \~20% of all Internet properties. 

**Improved visibility** 

Track your third-party scripts, cookies, and active connections from in a single pane of glass. 

**Automatic threat alerts** 

Instant notifications when new scripts are detected, marked as malicious, or loaded from unknown domains. 

![Background Pattern](/static/pattern.png) 

####  Use cases 

 Ways to apply Client-Side Security 

[  Learn more ](https://cfl.re/ps-brief) 

 Meet compliance requirements 

Reduce third-party vendor risk and address client-side requirements for standards and regulations like PCI DSS, the GDPR, and more. 

 Prevent financial and identity theft 

Block browser-based attacks aimed at your users’ personal and financial information. 

 Go beyond content security policies (CSP) 

Monitor JavaScript dependencies and block threats with threat intelligence and machine learning that goes above and beyond CSPs. 

### Frequently asked questions

###### What is Cloudflare Client-Side Security?

Cloudflare Client-Side Security is a client-side security solution that helps protect users' personal and financial data. It defends websites against attacks targeting vulnerable JavaScript dependencies, from Magecart-style attacks that exfiltrate user data to cryptojacking attacks. Client-Side Security helps web apps maintain compliance with frameworks like PCI DSS and the GDPR.

###### How does Client-Side Security help protect websites?

Client-Side Security continuously monitors a website's third-party scripts and other loaded dependencies for any signs of malicious activity or compromise, such as unauthorized additions, connections, or changes. By using machine learning and Cloudflare's industry-leading threat intelligence, it can instantly identify, report, and block threats before they can affect the website or its visitors.

###### What are the main benefits of using Client-Side Security?

Client-Side Security prevents browser supply chain attacks, provides automatic alerts for any suspicious script activity, stops financial data theft, and offers assistance in meeting compliance requirements like the GDPR and PCI DSS.

###### How does Client-Side Security help with compliance?

Client-Side Security helps organizations address client-side security requirements. Specifically, it assists with meeting GDPR and PCI DSS standards for detecting compromised third-party scripts and providing alerts.

###### Can Client-Side Security prevent the theft of customer data?

Client-Side Security is designed to block browser-based attacks that are aimed at stealing the personal and financial information of your users.

###### Is Client-Side Security better than using a Content Security Policy (CSP)?

Client-Side Security offers protection that goes beyond a standard CSP. While a CSP provides a static set of rules for what resources can be loaded, Page Shield actively monitors JavaScript dependencies and uses advanced threat intelligence and machine learning to detect and block threats.

[ Compute ](/products/#compute) 

[  Browser Run  Automated browsers ](/products/browser-rendering/) [  Containers  Any language, anywhere ](/products/containers/) [  Durable Objects  Stateful compute ](/products/durable-objects/) [  Sandboxes  Secure code execution ](/products/sandboxes/) [  Workers  Global serverless functions ](/products/workers/) [  Workers for Platforms  Programmable Platform Solutions ](/products/workers-for-platforms/) [  Workflows  Process orchestration ](/products/workflows/) 

[ Storage ](/products/#storage) 

[  Artifacts  Git-native versioned storage ](/products/artifacts/) [  D1  Serverless SQL ](/products/d1/) [  Data Platform  Ingest, Catalog & Query ](/products/data-platform/) [  Hyperdrive  Global databases ](/products/hyperdrive/) [  Queues  Message processing ](/products/queues/) [  R2  Egress-free storage ](/products/r2/) [  KV  Ultra-fast key-value storage ](/products/kv/) 

[ AI ](/products/#ai) 

[  Agents  Build stateful AI agents ](/products/agents/) [  AI Gateway  AI observability ](/products/ai-gateway/) [  AI Search  Instant retrieval ](/products/ai-search/) [  Vectorize  Vector database ](/products/vectorize/) [  Workers AI  Edge AI models ](/products/workers-ai/) 

[ SASE / Zero Trust ](/products/#sase) 

[  SASE  Cloudflare SASE platform ](/sase/) [  Access  Zero trust access to private resources ](/products/access/) [  CASB  SaaS and cloud posture ](/products/casb/) [  Data Loss Prevention  Protect sensitive data ](/products/dlp/) [  Gateway  Web filtering ](/products/gateway/) [  Browser Isolation  Secure web browsing ](/products/browser-isolation/) [  WAN  Cloud-delivered networking ](/products/wan/) [  Email Security  Phishing protection ](/products/email-security/) 

[ Security ](/products/#security) 

[  DDoS Protection  Mitigation Solutions ](/products/ddos/) [  Rate Limiting  Abuse prevention ](/products/rate-limiting/) [  SSL  Secure Your Site with SSL ](/products/ssl/) [  Turnstile  A CAPTCHA Replacement Solution ](/products/turnstile/) [  WAF  Web Application Firewall ](/products/waf/) [  Magic Transit  DDoS Protection for Networks ](/products/magic-transit/) [  Client-Side Security  Prevent browser supply chain attacks ](/products/client-side-security/) 

[ Network & Content Delivery ](/products/#network) 

[  Bot Management  Block bad bots ](/products/bot-management/) [  CDN  Faster delivery & caching ](/products/cdn/) [  DNS  Fast DNS ](/products/dns/) [  Load Balancing  Zero downtime ](/products/load-balancing/) [  TURN / SFU  Real-time infra ](/products/turn-sfu/) [  Analytics  Web Performance & Security ](/products/analytics/) 

# Build without boundaries

 Join thousands of developers who've eliminated infrastructure complexity and deployed globally with Cloudflare. Start building for free — no credit card required. 

[  Start building for free ](https://dash.cloudflare.com/sign-up) [  View docs ](https://developers.cloudflare.com/) 

 No cold starts or region complexity  SASE and Zero Trust without the complexity  Deploy to 330+ cities instantly  Defend against the Internet's biggest DDoS attacks  Predictable pricing without surprises  Identity-aware Zero Trust access that retires your VPN  Battle-tested infrastructure powering millions  CDN, WAF, and DNS faster than the public Internet  No cold starts or region complexity  SASE and Zero Trust without the complexity  Deploy to 330+ cities instantly  Defend against the Internet's biggest DDoS attacks  Predictable pricing without surprises  Identity-aware Zero Trust access that retires your VPN  Battle-tested infrastructure powering millions  CDN, WAF, and DNS faster than the public Internet

```json
{"@context":"https://schema.org","@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com","logo":"https://www.cloudflare.com/logo.svg","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"]}
{"@context":"https://schema.org","@type":"WebSite","name":"Cloudflare","url":"https://www.cloudflare.com","inLanguage":"en","potentialAction":{"@type":"SearchAction","target":"https://www.cloudflare.com/search?q={search_term_string}","query-input":"required name=search_term_string"}}
{"@context":"https://schema.org","@type":"WebPage","name":"Client-Side Security","description":"Cloudflare Client-Side Security defends against browser supply chain attacks. Simplify PCI DSS compliance, block Magecart-style attacks, and more.","url":"https://www.cloudflare.com/products/client-side-security/","inLanguage":"en"}
```
