When enterprise IT security teams and Chief Information Security Officers (CISOs) evaluate generative AI assistants like Cohere Coral, one critical question dominates the review: If Coral connects to central document repositories such as Microsoft SharePoint or Google Drive, what prevents an unauthorized employee from retrieving executive compensation records, confidential acquisition strategies, or restricted personnel files through conversational prompts?
The short answer is that Cohere Coral enforces document-level permissions and role-based access control (RBAC) at the retrieval infrastructure layer, rather than relying on large language model (LLM) instructions or system prompts. Coral executes queries through user-delegated authentication (OAuth 2.0 / On-Behalf-Of flows), applies runtime security trimming, and isolates retrieval so that an employee only queries documents their identity already has explicit rights to access.
If an employee does not possess read privileges for a sensitive spreadsheet in SharePoint or Google Drive, Coral’s data connectors never pass that document to the LLM context window. Because zero unauthorized tokens enter the model, the conversational assistant cannot disclose or summarize confidential content.
The Core Threat Model: Why Naive Enterprise RAG Fails Security Audits
In early-stage and naive Retrieval-Augmented Generation (RAG) deployments, engineering teams frequently rely on a global service account—a high-privilege "God mode" credential that indexes every repository across an enterprise into an unpartitioned vector database.
Under that flawed architecture:
- Documents lose their native access control lists (ACLs) during ingestion.
- The retrieval engine searches across all corporate embeddings indiscriminately.
- Developers attempt to enforce access restrictions via prompt engineering (for example, adding
"Do not disclose executive compensation unless the user is an HR executive"to the system prompt).
Security engineers and compliance officers recognize this approach as catastrophic. LLMs are probabilistic text processors vulnerable to prompt injection, jailbreaking, and contextual leakage. An attacker or curious staff member can easily instruct the model to bypass role-checking instructions.
Cohere Coral addresses this vulnerability by treating security as a deterministic data plane problem, not a probabilistic model generation problem.
The Three-Tier Permission Enforcement Architecture
Cohere Coral’s enterprise security framework operates across three distinct layers: Identity Propagation, Retrieval-Level Security Trimming, and Grounded Citation Anchoring.
+-----------------------------------------------------------------------+
| Tier 1: Identity & Authentication |
| Enterprise SSO / IdP (Entra ID, Okta, Google Workspace) |
| User initiates chat -> Issues scoped OAuth 2.0 user-delegated token |
+-----------------------------------------------------------------------+
|
v
+-----------------------------------------------------------------------+
| Tier 2: Retrieval Engine & Connector Security Trimming |
| - Direct Connector: Queries Microsoft Graph or Google Drive API |
| strictly on behalf of the user (underlying ACL engine filters data)|
| - Pre-Indexed Search: Filters vector/keyword search by user's group |
| SIDs and explicit ACL metadata before ranking |
| * Unauthorized documents are completely excluded from retrieval * |
+-----------------------------------------------------------------------+
|
v
+-----------------------------------------------------------------------+
| Tier 3: Model Grounding & Verifiable Citations (Command R / R+) |
| - Model receives ONLY authorized text passages |
| - Every assertion must be linked to a verifiable cited source |
| - If 0 matching documents are retrieved, model outputs safe refusal |
+-----------------------------------------------------------------------+
1. Identity Propagation and User Delegation (Tier 1)
Coral integrates directly with enterprise Identity Providers (IdPs) via Single Sign-On (SSO) standards, including SAML 2.0 and OpenID Connect (OIDC), such as Microsoft Entra ID (formerly Azure AD), Okta, and Google Workspace.
When an employee logs into Coral and queries a connected repository:
- No Shared Service Credentials: Coral does not query connected business systems through a static, all-powerful administrator token.
- User Token Passing (On-Behalf-Of Flow): Coral connectors leverage OAuth 2.0 authorization codes and scoped user tokens. When a query is initiated, the connector forwards the user's specific access token to the downstream API.
- Session Scoping: If the user's corporate identity is suspended, revoked, or reassigned in the IdP, their access to Coral's connectors immediately reflects those changes.
2. Retrieval-Level Security Trimming and ACL Inheritance (Tier 2)
The core mechanism preventing data leakage is security trimming—filtering out restricted content before results reach the ranking model and LLM prompt.
Depending on the deployment pattern, Coral applies security trimming in two ways:
A. Direct API Connectors (Runtime Querying)
For repositories accessed directly via API (such as real-time queries against SharePoint or Google Drive):
- The connector passes the user's token directly to the source API (for example, Microsoft Graph API
/v1.0/search/queryor Google Drive APIfiles.list). - The source platform executes its native security engine. SharePoint and Google Workspace inspect the user’s identity, group memberships, and file-level permissions before generating any search response.
- Only documents the user can legally view are returned to Coral. Files to which the user lacks access are omitted entirely by the source API.
B. Pre-Indexed Enterprise Search (Ingestion Metadata + Pre-Retrieval Filtering)
When enterprise data is pre-indexed into a high-performance vector index or search database (such as Cohere's enterprise search pipelines or vector databases managed in Cohere Toolkit):
- ACL Ingestion: During the indexing pipeline, connectors extract both text chunks and the full security metadata associated with each item—including Owner IDs, User Access Lists, Group Security Identifiers (SIDs), and inheritance flags.
- Query-Time Filter Generation: When a user queries Coral, the system queries the enterprise directory (via SCIM or Graph API) to resolve the user’s unique identity and all current security group memberships.
- Pre-Filtering Before Vector Similarity: The database executes a mandatory metadata filter matching the user’s identity and group list against the document’s ACL fields. Unauthorized document vectors are pruned prior to nearest-neighbor calculations or Cohere Rerank processing.
3. Grounded Generation and Citation Verification (Tier 3)
Even if an unauthorized query is attempted, Cohere’s underlying Command models (such as Command R and Command R+) operate under a strict grounded generation constraint.
- Explicit Document Anchoring: Coral instructs the model to synthesize answers solely from the retrieved chunks passed into its context window, attaching fine-grained citations to each sentence.
- Safe Refusal on Empty Retrieval: If security trimming removes all sensitive documents from the candidate pool, the context window contains no source chunks. The model safely responds that it cannot find the relevant information, rather than hallucinating or attempting to recall internal data.
Data Source Enforcement: Microsoft SharePoint vs. Google Drive
Enterprise repositories feature distinct access models. Cohere Coral's connectors accommodate these nuances natively:
| Dimension | Microsoft SharePoint / OneDrive (Microsoft 365) | Google Drive (Google Workspace) |
|---|---|---|
| Permission Hierarchy | Tenant -> Site Collection -> Subsite -> Document Library -> Folder -> Item ACL | Shared Drives (Team Drives), My Drive, Folder-level sharing, File-level ACLs |
| Group Resolution | Microsoft 365 Groups, Entra ID Security Groups, SharePoint nested groups | Google Workspace Groups, Org Units, Direct user email sharing |
| Integration Protocol | Microsoft Graph API with OAuth 2.0 delegated scopes | Google Drive API v3 with OAuth 2.0 user scopes |
| Security Trimming Point | Microsoft Graph API search engine or vector pre-filter with Group SIDs | Google Drive API query engine or vector pre-filter with user/group IDs |
| Inheritance Handling | Honors broken inheritance and unique item-level security descriptors | Honors inherited folder permissions and explicit file permission overrides |
Deep Dive: How SharePoint Permissions Are Handled
In SharePoint, document permissions are notoriously complex due to nested permission inheritance and "broken inheritance" on individual folders or files.
When a user interacts with Coral:
- Coral uses the user’s delegated Microsoft Graph token.
- The Graph search endpoint automatically evaluates the caller's Effective Access Token against the SharePoint security token service.
- If a file in a shared departmental library has broken inheritance and is restricted exclusively to executive staff, a general employee querying Coral will receive zero hits for that document. The file does not exist from the perspective of their Graph API session.
Deep Dive: How Google Drive Permissions Are Handled
Google Drive separates access across individual "My Drive" folders, Shared Drives with manager/content contributor/viewer roles, and domain-wide link permissions.
When configured with Google Drive:
- Coral initiates an OAuth flow requesting read-only access scoped to the user’s authorized boundaries.
- Google’s Drive API natively filters
files.listand full-text queries based on the authenticated user's email and associated Workspace group memberships. - Private Shared Drives (e.g., Legal or HR drives) remain completely invisible to unauthorized users, ensuring zero ingestion or indexing cross-contamination.
Platform-Level RBAC and Administrative Governance in Cohere Coral
In addition to respecting source-level document ACLs, Cohere provides platform-level administrative controls to protect corporate data boundaries:
Platform Roles: Owners vs. Users
Cohere platform governance partitions administrative rights from conversational usage:
- Owners / Admins: Manage workspace team members, define organization-wide connectors, generate and revoke production API credentials, configure SSO settings, and view enterprise billing and compliance metrics.
- Users: Interact with the chat interface, run retrieval workflows, and connect personal OAuth tokens to authorized tools, without possessing rights to alter platform-wide connector endpoints or model deployments.
Connector-Level Entitlement Scoping
Enterprise IT administrators can restrict which departments or user cohorts can activate specific connectors. For example:
- The Salesforce Connector can be restricted to users in the Sales and Account Management directory groups.
- The Internal Wiki / Knowledge Base Connector can be made available company-wide.
- The Financial ERP Connector can be restricted strictly to Finance and Executive teams.
This provides defense-in-depth: even before document-level ACLs are evaluated, entire data pipelines can be sequestered based on corporate organizational units.
Audit Logging and SIEM Integration
Compliance officers require visibility into AI-assisted interactions. Cohere Coral and enterprise deployment architectures provide structured logging capturing:
- Authenticated user ID and timestamp.
- Connected tools and connectors invoked during the session.
- Document identifiers and source URLs returned in retrieval chunks.
- Citations displayed in the final grounded response.
These logs can be streamed directly to enterprise Security Information and Event Management (SIEM) systems (such as Splunk, Datadog, or Microsoft Sentinel) to detect anomalous data discovery behavior or potential insider threats.
Deployment Boundaries: Private Cloud and Zero Data Retention
For enterprises subject to strict regulatory regimes (such as HIPAA, SOC 2 Type II, ISO 27001, or GDPR), cloud perimeter integrity is just as critical as software ACLs:
- VPC and On-Premises Deployment: Cohere models and assistant infrastructure can be deployed directly within an organization’s private Virtual Private Cloud (AWS, Microsoft Azure, Google Cloud, or Oracle Cloud Infrastructure) or air-gapped on-premises hardware. Data never leaves the enterprise boundary.
- Zero Data Retention (ZDR): Cohere guarantees that customer prompts, retrieved documents, and generated responses are never retained on shared servers or used to train public foundation models.
- Data-at-Rest and Data-in-Transit Encryption: All connector traffic is encrypted using TLS 1.3 in transit, and pre-indexed embedding stores leverage AES-256 encryption with customer-managed encryption keys (CMEK).
The Hidden Vulnerability: Over-Sharing in Source Repositories
While Cohere Coral’s security architecture reliably enforces existing ACLs, IT security teams must address one major operational reality: AI assistants do not bypass permissions, but they dramatically accelerate the discoverability of files that were already misconfigured.
If an employee in the Finance department accidentally uploaded executive salary structures to a SharePoint folder with permissions set to "Anyone in the organization with the link can view", that file is technically accessible to all employees. In a manual workflow, security through obscurity might prevent people from discovering the file. But a conversational assistant asked about company salaries will locate and synthesize the document because the employee legally holds read access under the misconfigured ACL.
Practical IT Checklist Before Enabling Coral Connectors
To safeguard data before deploying Coral across enterprise repositories:
- Audit Source Access Posture: Run permission audits in Microsoft 365 (via Microsoft Purview) and Google Workspace to detect files shared with
"Everyone except external users"or"Anyone in this domain". - Enforce User-Delegated OAuth: Verify that connector configurations use delegated user credentials rather than blanket service account keys.
- Partition Connectors by Business Domain: Segment sensitive departments (Legal, M&A, HR) into dedicated connectors with restricted IdP role assignments.
- Configure Automated Token Expiration: Align OAuth refresh token policies with corporate session management standards.
- Monitor SIEM Audit Trails: Set alert thresholds for abnormal query frequency or broad document harvesting patterns.
Summary and Verdict
Cohere Coral safeguards enterprise data by maintaining a zero-trust approach to generative AI retrieval. By executing queries through delegated user identities, trimming unauthorized content directly at the source API or index filter, and strictly anchoring model responses to verified citations, Coral ensures that generative conversational answers never breach the document-level ACLs and RBAC boundaries established by corporate IT.
References
- An Overview of Cohere's RAG Connectors | Cohere
- GitHub - cohere-ai/cohere-toolkit: Cohere Toolkit is a collection of prebuilt components enabling users to quickly build and deploy RAG applications.
- GitHub - cohere-ai/quick-start-connectors: This open-source repository offers reference code for integrating workplace datastores with Cohere's LLMs, enabling developers and businesses to perform seamless retrieval-augmented generation (RAG) on their own data.
- AI Security and Data Protection | Cohere