Cloud & app security

What Is a Cloud Access Security Broker (CASB)? How It Works

A CASB is the security checkpoint between your people and the cloud apps they use. Here is what it sees, what it controls, and when it earns its place.

Cysoro Security TeamPublished · 8 min read
CASB CHECKPOINT Salesforce Microsoft 365 CLOUD & APP SECURITY Cloud accesssecurity broker The checkpoint between users and the cloud.
Quick answer

A cloud access security broker (CASB) is a security control point between users and cloud services that gives an organization visibility into cloud app use and enforces data protection, access and threat policies. It works through cloud providers' APIs, inline as a proxy, or both, covering sanctioned apps such as Microsoft 365 and Salesforce as well as unsanctioned shadow IT.

Key takeaways

  • A CASB sits between users and cloud apps, giving visibility into sanctioned and unsanctioned SaaS use.
  • Its four jobs are visibility, data security, threat protection and compliance — delivered through APIs, a proxy, or both.
  • A CASB earns its place when you run many SaaS apps, must control shadow IT, or need consistent policy across clouds.

Your team no longer works inside one office network. They log into Microsoft 365 from home, share files in Google Drive, approve expenses in a SaaS app, and try a new AI tool they found yesterday. A cloud access security broker is the control point that brings that sprawl back into view.

What is a cloud access security broker?

A cloud access security broker (CASB) is a security control point between users and cloud services. It gives an organization visibility into cloud usage and enforces data protection, access and threat policies for SaaS applications such as Microsoft 365 or Salesforce.

Microsoft describes its own CASB, Defender for Cloud Apps, in the same terms: a broker that operates on multiple clouds, providing rich visibility, control over data travel, and analytics to identify and combat cyberthreats across cloud services. The definition matters because it is about the job, not the product — any tool that does this job is a CASB.

Before the cloud, a firewall at the office boundary could see most traffic. Now the apps live outside the office, users connect from anywhere, and the data leaves with them. A CASB restores a checkpoint in that new path, between the user and the app.

It is not a single feature. A CASB combines discovery, policy enforcement, data protection and threat detection in one place, so the same rule can apply to Microsoft 365, Salesforce, Box and a dozen other apps at once.

How does a CASB work?

A CASB works in two main ways: through the cloud provider's API, and inline as a proxy in the traffic path. Most modern CASBs use both, because each mode sees different things.

Where a CASB sitsUserslaptops, phones,home and officeCASBvisibilitypolicydata protectionthreat detectionCloud appsMicrosoft 365,Salesforce, BoxproxyproxyAPI mode: the CASB also talks directly to each app's API
A CASB sits between users and cloud apps, inline as a proxy and through each app's API. Illustration by Cysoro.

API mode: deep visibility after the fact

In API mode, the CASB connects to a sanctioned app through that app's own API. It can read activity logs, scan files, check sharing settings and spot misconfigurations. It sees what happened inside the app, including files shared publicly or downloaded by a departing employee.

API mode is powerful for governance, but it is not real time. It sees events after they happen, so it is best for detection, auditing and remediation rather than blocking a download in progress.

Proxy mode: real-time control in the session

In proxy mode, the CASB sits in the traffic path between the user and the app, usually as a reverse proxy. It can enforce session policies as they happen: block a download of a sensitive file to an unmanaged device, require step-up authentication, or stop a paste into an unsanctioned app.

This is how a CASB enforces "you can view this file, but you cannot download it" — a rule that is impossible to enforce from the API alone. Microsoft calls this Conditional Access App Control in Defender for Cloud Apps.

Discovery: finding shadow IT

A third mode is discovery. The CASB ingests firewall, proxy or endpoint logs and builds an inventory of every cloud app employees actually use, approved or not. Microsoft's Cloud Discovery rates each app against more than 90 risk factors, against a catalog of tens of thousands of apps.

Discovery is often the first value a CASB delivers. Most organizations are surprised by how many apps their staff use, and by how many of them hold company data.

What are the four pillars of a CASB?

CASBs are usually described in four areas: visibility, data security, threat protection and compliance. Each one answers a different question about your cloud use.

PillarQuestion it answersWhat it does
VisibilityWhat apps are people using?Discovers sanctioned and unsanctioned apps, scores their risk, shows who uses what
Data securityWhere is our sensitive data?Classifies files, controls sharing and downloads, applies DLP rules
Threat protectionIs anyone misusing access?Detects impossible travel, mass downloads, compromised accounts, risky OAuth apps
ComplianceAre we meeting our obligations?Checks configurations against baselines, keeps audit logs, supports SOC 2 and similar reviews

Microsoft groups Defender for Cloud Apps into the same shape: Cloud Discovery for shadow IT visibility, app connectors for sanctioned apps, Conditional Access App Control for session policies, and SaaS Security Posture Management for the sanctioned estate, plus app governance for OAuth apps.

OAuth app governance deserves attention on its own. Employees grant third-party apps permission to act in Microsoft 365 or Google Workspace on their behalf, and a malicious or over-permissioned OAuth app can read mail and files. A CASB inventories those grants and flags the risky ones.

CASB vs firewall vs SWG vs DLP: what is the difference?

These tools overlap, which is why buyers get confused. The difference is what each one controls and where it sits.

ToolControlsBest at
CASBCloud app use and data inside appsShadow IT, SaaS policy, OAuth apps
FirewallNetwork traffic at a boundaryBlocking ports, hosts and network threats
Secure web gatewayWeb traffic and URLsBlocking malicious sites and categories
DLPSensitive data movementStopping data leaving by any channel
Identity providerWho can sign inAuthentication, MFA, conditional access

A CASB often includes DLP features for cloud apps, and a secure web gateway often includes CASB-like discovery. In practice, many organizations buy them together as part of a Security Service Edge (SSE) or SASE platform. Microsoft's Defender for Cloud Apps training describes how its CASB combines discovery, session control and app governance.

What are examples of CASB products?

The best-known CASB products are Microsoft Defender for Cloud Apps, Netskope, Palo Alto Networks Prisma Access, Zscaler, Skyhigh Security and Cisco. Most are sold as part of a larger platform rather than as a standalone purchase.

Microsoft Defender for Cloud Apps is the CASB many organizations already own without having bought it separately, since it is included in Microsoft 365 E5 and E5 Security licensing. Its four parts are Cloud Discovery, app connectors, Conditional Access App Control and SaaS Security Posture Management, plus app governance for OAuth apps.

Netskope and Zscaler are often chosen by organizations that are not Microsoft-centric, or that want the CASB as part of a broader SSE platform with a secure web gateway and zero trust network access. Skyhigh Security, formerly McAfee's CASB business, and Palo Alto Networks Prisma Access serve a similar role.

Do not choose on brand alone. The right CASB is the one that connects to the apps you actually use, enforces the policies you actually need, and fits the identity platform you already run.

When do you need a CASB?

A CASB earns its place when one of these is true. If none of them applies, the built-in controls in your existing suites are probably enough.

  • You run many SaaS apps. Once the count passes a dozen, no one can keep track of who uses what, or what data each app holds, without a discovery tool.
  • Shadow IT is a real risk. Staff are using file-sharing, AI and collaboration tools IT never approved, and some of them hold customer data.
  • You must control data, not just access. Signing in securely is not enough if a signed-in user can download your entire customer list to a personal laptop.
  • You handle regulated data. Healthcare, finance and government work often require proof of who accessed what, and a CASB keeps that audit trail.
  • You need consistent policy across clouds. One rule for downloads, sharing and risky sessions, applied to Microsoft 365, Google Workspace and Salesforce alike.

CISA's SCuBA baselines provide secure configuration guidance for Microsoft 365 and Google Workspace, and they are a good starting point before buying a CASB. A CASB adds value on top of those baselines when you use many SaaS apps, need consistent policy across them, or must control shadow IT. NIST SP 800-210 covers the underlying cloud access control principles.

How do you choose and deploy a CASB?

Choose a CASB by the apps it covers and the policies it can enforce, not by the size of its feature list. A CASB that cannot connect to your most-used app is a dashboard, not a control.

Deploying a CASB in five steps1Discoverinventory everycloud app in use2Sanctionapprove, monitoror block each app3Connectlink sanctionedapps by API4Enforcesession and datapolicies, monitor-only5Operatereview alerts,tune, repeatStart in monitor-only mode — blocking on day one breaks real work.
Five steps to deploy a CASB. Illustration by Cysoro.
  1. Discover first. Run Cloud Discovery for two to four weeks before you buy or block anything, so you know what people actually use.
  2. Sanction or block. For each app, decide: approved, tolerated with monitoring, or blocked. Publish the list so staff know where they stand.
  3. Connect sanctioned apps by API. Start with the apps that hold the most sensitive data — usually email, file storage and CRM.
  4. Enforce in monitor-only mode first. Let session policies log what they would have blocked for a week or two, then fix the false positives before you switch to blocking.
  5. Operate it weekly. Review alerts, revoke risky OAuth grants, and re-run discovery monthly. Shadow IT returns quickly if no one watches.

Common mistakes include blocking on day one, which breaks real work and teaches staff to work around the tool; connecting only one app, which leaves the rest invisible; and buying a CASB nobody operates, which becomes an expensive dashboard. A CASB is a process, not a purchase.

What can a CASB not do?

A CASB cannot protect data it cannot see. Apps it is not connected to, personal devices outside its reach, and data that never passes through a sanctioned app are all blind spots.

It also cannot replace identity controls. If an attacker has a valid password and no MFA is required, the CASB sees a legitimate session. Pair it with phishing-resistant MFA and conditional access, and use it to enforce what happens after sign-in. Attackers who steal a session often arrive by phishing, so read our guide to what spear phishing is alongside this one.

Finally, a CASB cannot fix a bad app. If a sanctioned app is itself insecure, misconfigured or over-permissioned, the CASB can report that and limit the damage, but it cannot make the app secure. That is a vendor and configuration problem, and it is why posture management matters. Our small business cybersecurity checklist covers the baseline controls that should come first.

The bottom line

A cloud access security broker gives you back the visibility and control that the move to SaaS took away. It shows you which apps your people use, applies consistent rules to the data inside them, and spots misuse that no single app would report on its own.

Start with discovery, sanction what you find, and enforce in monitor-only mode before you block. If you already run Microsoft 365, check whether you already own Defender for Cloud Apps before you buy anything new — and check your own domain's security posture with the free security headers checker.

Frequently asked questions

What is a cloud access security broker in simple terms?

A CASB is a security checkpoint between your users and the cloud apps they use. It shows you which apps people are using, applies rules about what data can leave, and spots risky behavior, even for apps IT never approved.

What is the difference between a CASB and a firewall?

A firewall controls network traffic at the boundary of your network. A CASB controls access to cloud applications and the data inside them, including apps used outside your network, which is where most work now happens.

Is Microsoft Defender for Cloud Apps a CASB?

Yes. Microsoft Defender for Cloud Apps is Microsoft's cloud access security broker. It discovers cloud apps, connects to sanctioned apps through their APIs, applies session policies, and governs OAuth apps.

What is shadow IT and how does a CASB help?

Shadow IT is cloud apps employees use without IT approval, such as a file-sharing tool or an AI chatbot. A CASB discovers these apps from network logs, scores their risk, and lets IT sanction, monitor or block them.

Do small businesses need a CASB?

Most very small businesses do not need a standalone CASB. The built-in controls in Microsoft 365 or Google Workspace, plus strong authentication, are usually enough. A CASB becomes worth it when you run many SaaS apps or handle regulated data.

What is the difference between a CASB and SASE or SSE?

A CASB focuses on cloud app visibility and control. Secure Access Service Edge (SASE) and Security Service Edge (SSE) are broader frameworks that combine a CASB with a secure web gateway, zero trust network access and other network security services.

Can a CASB see encrypted traffic?

An API-based CASB sees activity and files through the cloud provider's API, without decrypting traffic. An inline CASB acting as a proxy can inspect sessions in real time, but it must be deployed so users' connections route through it.

What does a CASB cost?

Pricing varies widely and is usually per user per month, often bundled into a larger security suite such as Microsoft 365 E5. Standalone CASB products are typically sold through vendors or partners, so get a quote for your user count rather than relying on a list price.

Sources

  1. Microsoft Learn — Secure your cloud apps and services with Defender for Cloud Apps
  2. NIST — SP 800-210, General Access Control Guidance for Cloud Systems
  3. CISA — Secure Cloud Business Applications (SCuBA)
  4. EPC Group — Microsoft Defender for Cloud Apps: CASB 2026
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against Microsoft Learn's Defender for Cloud Apps documentation, NIST SP 800-210 and CISA's SCuBA guidance.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free