Enterprise search usually breaks down at the permissions boundary. An intern asks a casual question about executive compensation, the vector database returns an unredacted PDF chunk, and the large language model dutifully summarizes the board deck. At 365Finds, we have watched engineering teams attempt to patch this with system prompt instructions—begging the model to "only disclose data the user has clearance for." It never works. Prompt guardrails are suggestions; access control is a hard binary.
Cohere Coral approaches this problem by refusing to let the language model make authorization decisions. Instead, Cohere Coral grounds queries through a retrieval-augmented generation (RAG) architecture where access control happens strictly upstream at the connector boundary. If a user does not have permission to read a document in the underlying repository, that document never enters the model's context window.
Here is how the architecture actually works, where it succeeds, and where engineering teams still make dangerous assumptions.
The Upstream Retrieval Boundary
Cohere Coral does not index your company files into a single, unprotected monolithic embedding space. It queries data dynamically through the Cohere Connectors framework. When a user asks a question in the Coral workspace, Coral routes the search payload to one or more registered connectors—such as Google Drive, Microsoft SharePoint, Confluence, Slack, or an internal vector database.
Cohere supports two distinct authentication pathways at the connector level, configured via the /v1/connectors API:
- Delegated OAuth 2.0 (
oauthobject): The connector executes the search on behalf of the specific user. Cohere handles the OAuth handshake (POST /v1/connectors/:id/oauth/authorize), passing the user's session token directly to the upstream data provider. When the connector queries Microsoft Graph or Google Drive, the source repository itself applies its native access control lists (ACLs). Files the user cannot access simply do not exist in the search response. - Service Authentication (
service_authobject): The connector communicates with an internal enterprise datastore using a backend service token. This is where 365Finds sees teams make fatal design errors. A service account typically holds wide read permissions. If your custom connector queries Elasticsearch, OpenSearch, or Pinecone under a god-mode service principal without explicitly passing user claims and applying pre-retrieval ACL metadata filters, every document will be exposed to every employee.
User Query (Coral UI / API)
│
▼
Authentication Layer (SSO / OIDC User Identity)
│
▼
Connector Dispatch (OAuth Token or Identity Claims)
│
▼
Upstream Data Source (SharePoint / Drive / Internal Index)
── Enforces ACL / RBAC at query time ──
│
▼
Authorized Document Chunks Only
│
▼
Cohere Rerank (Semantic sorting of permitted chunks)
│
▼
Cohere Command Model (Grounded generation + Inline citations)
At 365Finds, we strongly recommend implementing Delegated OAuth wherever possible for third-party SaaS knowledge bases. For bespoke internal indices, service-to-service connectors must enforce tenant-level and document-level role-based access control (RBAC) before returning any document array to Cohere.
From Filtered Chunks to Grounded Generation
Once the upstream repository returns the authorized document set, the data enters Cohere's processing pipeline. The payload arrives as a structured JSON array containing document identifiers, titles, and text snippets.
Cohere Coral then executes a multi-step sequence:
- Cohere Rerank: Retrieved documents from upstream search are often noisy. Cohere Rerank evaluates semantic relevance between the query and the authorized snippets, trimming the list down to the highest-density chunks that fit comfortably inside the context window. Crucially, Rerank operates only on documents that already passed access checks.
- In-Context Grounding: Cohere's Command family of models receives the prompt along with the filtered documents passed through the
documentsparameter. The model is tuned to anchor its generation strictly in the provided text. It does not speculate or fall back on parametric memory when enterprise grounding is active. If all retrieved documents lack the necessary answer, Coral acknowledges the absence of information rather than hallucinating plausible corporate policy. - Character-Level Inline Citations: Coral returns structured citation objects mapping exact text spans to specific
document_ids. The API output specifiesstartandendindices alongside the source URL. When a reader clicks a citation in Coral, the link points directly to the underlying source document, which is still guarded by the native storage provider's web-level authentication.
Where Teams Get Caught Off Guard
Cohere Coral's grounding mechanism is technically rigorous, but it exposes operational blind spots if your infrastructure lacks proper discipline.
First, connector synchronization latency is real. If an employee transfers from finance to marketing, their SharePoint permissions might update in Active Directory within minutes. But if your connector relies on cached OAuth tokens or stale access group caches, there is a propagation window where the user can still pull grounded summaries of restricted financial reports. 365Finds advises configuring strict time-to-live (TTL) policies on connector session caches (ToolAuthenticationCacheMixin in custom toolkit setups).
Second, document metadata leaks. Even if document body text is properly restricted, some custom connectors accidentally include document titles or folder hierarchies in their return payloads. If an unprivileged user asks "What projects are under review?", an poorly configured connector might omit the body of a confidential M&A memo while returning its title: Project-Titan-Acquisition-Draft.pdf. Cohere Command will see that title in the context window and cite it in the chat interface.
Third, air-gapped and VPC requirements. For heavily regulated sectors—defense, healthcare, and Tier-1 banking—sending internal queries to a multi-tenant cloud is out of the question. Cohere accommodates this by offering private deployments across AWS Bedrock, Microsoft Azure, and Oracle Cloud Infrastructure (OCI), as well as dedicated VPC clusters. Document chunks passed into the grounding pipeline never leave the organization's cloud perimeter.
Architectural Best Practices for Cohere Coral
To maintain verifiable security while deploying Cohere Coral across enterprise departments, follow these core rules:
- Treat the LLM as completely untrusted with permissions. Never prompt-engineer your way around security. If data must not be seen by a user, that data must never be serialized into the
documentsarray of the chat payload. - Isolate connectors by sensitivity tier. Instead of a single omnibus connector accessing all company data, register specialized connectors with granular scopes. Route queries from general channels only to general knowledge connectors.
- Sanitize document titles and snippet metadata. Ensure that custom connector endpoints scrub internal file paths, owner usernames, and confidential metadata before returning JSON payloads to Cohere.
- Audit citation logs against identity tokens. Cohere outputs explicit citation references for every response. Stream these logs into your SIEM platform to track which users are triggering queries against sensitive document IDs.
When a query fails permission checks at the upstream connector, Cohere Coral receives an empty document array and outputs a null-grounded refusal. The model never sees the hidden text, and no prompt injection technique can extract tokens that were never fed into its context.