A CASB, or cloud access security broker, is a security control point placed between an organization’s users and the cloud services they use, where it enforces visibility, data protection, threat protection and compliance policy. In cybersecurity, and specifically in infrastructure defense, a CASB extends the reach of on-premises controls to software as a service (SaaS) applications and cloud platforms that traffic no longer passes through the corporate perimeter to reach.
The category emerged in the early 2010s when shadow IT made it impossible for security teams to know which cloud applications employees were using. Today CASB functions are usually delivered as part of a security service edge (SSE) platform, combined with a secure web gateway and zero trust network access.
How a CASB inspects cloud activity
A CASB works by observing and controlling traffic or data that flows to sanctioned and unsanctioned cloud services. It gains that position through three deployment modes, and most mature products combine them because each one sees a different slice of activity.
Log-based discovery reads firewall and proxy logs to build a catalog of every cloud service in use, scored for risk. Forward proxy inspection intercepts traffic from managed endpoints in real time. Reverse proxy inspection sits in front of a specific application and rewrites its URLs, which allows control over unmanaged devices. API integration connects directly to the provider, such as a file-sharing or collaboration suite, and scans data at rest without touching user traffic.
The table below summarizes what each deployment mode can and cannot see.
| Mode | What it sees | Main strength | Main limitation |
|---|---|---|---|
| Log-based discovery | Network logs of cloud use | No agent or inline change | Visibility only, no blocking |
| Forward proxy | Live traffic from managed devices | Real-time inline control | Needs agent or PAC file, breaks pinned apps |
| Reverse proxy | Sessions to one federated app | Covers unmanaged devices | Fragile URL rewriting |
| API mode | Stored files, users, settings | Retroactive scanning of data at rest | Near-real-time at best, provider-dependent |
Inline modes usually require TLS interception, which means the CASB terminates and re-encrypts the session with a trusted certificate. That design gives deep inspection but introduces latency, privacy obligations and certificate pinning conflicts that must be planned in advance.
The four functional pillars of a CASB
Industry practice describes CASB capability in four pillars: visibility, data security, threat protection and compliance. A product that lacks one of them is better described as a point tool than as a full broker.
| Pillar | Typical controls | Question it answers |
|---|---|---|
| Visibility | Shadow IT discovery, app risk scoring, usage analytics | Which cloud services are used, and by whom |
| Data security | Cloud DLP, encryption, tokenization, sharing restrictions | Is sensitive data leaving approved boundaries |
| Threat protection | UEBA, malware scanning, compromised account detection | Is an account or file behaving maliciously |
| Compliance | Configuration audits, retention, residency checks | Does cloud use meet regulatory obligations |
User and entity behavior analytics (UEBA) is especially valuable because cloud attacks often use valid stolen credentials. Signals such as impossible travel, mass downloads or a sudden spike in external sharing reveal a compromised account that signature-based tools would never flag.
Closely related is SaaS security posture management (SSPM), which audits tenant settings such as public link defaults or disabled multifactor authentication. Many vendors now bundle SSPM with API-mode CASB features.
How a CASB differs from related defenses
A CASB complements rather than replaces other infrastructure defense controls. Its distinguishing trait is application-level awareness of cloud services: it understands the difference between uploading to a personal and a corporate instance of the same storage service, or between viewing and sharing a document.
| Control | Primary scope | Cloud application awareness |
|---|---|---|
| CASB | User activity in SaaS and cloud platforms | Deep, per action and per instance |
| Secure web gateway | General web browsing and downloads | Moderate, URL and category based |
| Firewall | Network traffic by port, protocol, address | Limited without application identification |
| Data loss prevention | Sensitive data on endpoints, email, network | Depends on cloud integration |
| WAF | Inbound traffic to the organization’s own web apps | None for third-party SaaS |
A frequent source of confusion is the direction of protection. A web application firewall protects applications that the organization publishes, while a CASB governs how the organization’s own users consume applications that others operate.
Deploying and tuning a CASB
Effective deployment starts with discovery before enforcement. Teams typically run log analysis for several weeks, classify discovered applications as sanctioned, tolerated or blocked, and only then write inline policies. Enforcing too early generates business disruption and policy exceptions that erode support.
Policy design should be granular and context-aware. Instead of blocking a whole application, a mature CASB policy allows viewing from unmanaged devices but blocks downloads, or permits uploads only to the corporate tenant.
| Situation | Recommended action | Reason |
|---|---|---|
| Unsanctioned file sharing app | Block or coach the user | Data leaves governed storage |
| Personal instance of a sanctioned app | Block uploads, allow reads | Prevents tenant confusion leaks |
| Unmanaged device on email suite | Browser-only access, no downloads | Device security is unknown |
| Sensitive file shared publicly | Remove link, notify owner | Limits exposure quickly |
| Impossible travel login | Step-up authentication or session revoke | Indicates credential theft |
Integration matters as much as configuration. CASB alerts should flow into the SIEM and incident response workflow, and identity data should come from the identity provider so policies follow groups and roles rather than static lists.
Limitations and common mistakes
A CASB is only as strong as its coverage of traffic paths. Users on unmanaged networks, mobile apps with certificate pinning and direct API clients can bypass an inline proxy, which is why API mode is the safety net for data at rest.
- Treating discovery as protection: a shadow IT report without enforcement changes nothing.
- Overbroad blocking: users move to personal devices, reducing visibility further.
- Ignoring API rate limits: providers throttle scanning, so remediation can lag by minutes or hours.
- Neglecting DLP tuning: untuned patterns produce high false-positive rates and alert fatigue.
- Assuming the provider secures data: under the shared responsibility model, access and data handling remain the customer’s duty.
In simple terms
A CASB is like a security desk in front of cloud services. Employees use many online tools for files, email and chat, and most of that traffic never passes through the company’s own network.
The CASB watches which tools are used, checks what data goes in and out, and stops risky actions. It can allow someone to read a document on a personal phone but stop them from downloading it. The key idea is control over cloud use without banning the cloud.
A practical example
A regional hospital network with about 4,000 staff moved email and documents to a cloud productivity suite. Log-based discovery revealed more than 600 cloud applications in use, including several personal file-sharing services holding scanned patient forms.
The security team connected the CASB in API mode to the corporate tenant and found roughly 1,200 files with public links containing health data. Automated policies removed the links and notified owners. A forward proxy on managed laptops then blocked uploads of files matching health record patterns to personal storage, while a reverse proxy gave clinicians browser-only access from home devices.
Within one quarter, public exposure of regulated files fell to near zero, and UEBA flagged one compromised account after a mass download from an unusual country, which was revoked before the data left the tenant.