For enterprise Chief Information Security Officers (CISOs), legal counsels, and cloud architects, the deployment of organization-wide generative AI search represents a high-stakes trade-off. Connecting foundational Large Language Models (LLMs) to corporate repositories—such as Google Drive, Microsoft SharePoint, Slack, Jira, and Confluence—creates substantial productivity gains. However, it also introduces two severe security threats: the exfiltration of confidential intellectual property or PII into public LLM training datasets, and internal privilege escalation, where conversational interfaces accidentally surface restricted files to unauthorized staff.
Glean resolves this tension not through cosmetic prompt filters, but through an architectural paradigm: upstream permission enforcement coupled with contractual and architectural Zero Data Retention (ZDR). At 365Finds, our research indicates that Glean's "permissions-first" query-time retrieval is the only viable architecture for enterprise AI search. In this guide, we break down how Glean prevents knowledge leaks, how its zero data retention protocols function across model providers, how customer-hosted VPC isolation operates, and how security teams can audit every link in the data chain.
The Threat Model: Where Enterprise AI Leaks Actually Occur
To evaluate Glean's security controls, security teams must distinguish between external model leakage and internal authorization bypass:
[User Query]
│
▼
┌────────────────────────────────────────────────────────┐
│ 1. Identity & Context Verification (SSO / SCIM) │
└────────────────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 2. Upstream ACL Filter (Enterprise Graph Index) │
│ * Eliminates unauthorized files BEFORE LLM retrieval│
└────────────────────────────────────────────────────────┘
│ (Authorized context snippets only)
▼
┌────────────────────────────────────────────────────────┐
│ 3. Runtime Guardrails & Threat Defense (Glean Protect) │
│ * Scans for PII, prompt injections & toxic payload │
└────────────────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 4. Stateless Model Routing (Universal Key / BYOK) │
│ * Zero Data Retention (ZDR) API Call │
│ * Ephemeral in-memory inference; no training logs │
└────────────────────────────────────────────────────────┘
│
▼
[Streaming Synthesized Response to Authorized User]
- Third-Party Model Retention and Pre-training Exposure: When proprietary prompts and document excerpts are transmitted across public LLM APIs, standard commercial terms often permit providers to log payloads for diagnostic review or incorporate them into subsequent model training. Without strict legal and architectural constraints, an engineer searching internal code or an HR manager drafting executive severance terms could inadvertently feed proprietary data into public frontier models.
- Access Control List (ACL) Blindness & Internal Leakage: Many generic Retrieval-Augmented Generation (RAG) frameworks index corporate documents into a shared vector database without continuously synchronizing document-level ACLs. When an employee asks, "What are our Q4 executive bonus targets?", a naive RAG system retrieves the top vector matches regardless of document permissions, synthesizes an answer, and leaks restricted information.
- Indirect Prompt Injection: Malicious inputs hidden within third-party documents, emails, or public tickets can manipulate model reasoning, forcing the assistant to exfiltrate private context via markdown links or external web requests.
Glean addresses each threat surface through dedicated infrastructure layers.
1. Upstream Dynamic ACL Enforcement: Why the Model Never Sees Restricted Data
The most critical architectural differentiator in Glean is that the underlying LLM never performs authorization checks. Large language models cannot reliably interpret or enforce corporate access policies; relying on an LLM to "ignore confidential salary data" is an inherent security vulnerability.
Instead, Glean enforces a strict Zero Trust, query-time permission filter upstream:
- Continuous Real-Time ACL Mirroring: Glean connects to more than 100 enterprise systems (spanning SaaS suites like Google Workspace, Microsoft 365, Salesforce, Jira, and GitHub) using native APIs and webhooks. It continuously ingests and updates document-level permissions, user groups, nested sharing inheritance, and identity mappings. Delta syncs ensure that when a file's permissions are revoked in the source system, Glean's internal index reflects that restriction immediately.
- Pre-Retrieval Identity Authentication: Every query initiated in Glean Assistant, search, or automated agents requires SAML 2.0 / OIDC authentication tied to your enterprise Identity Provider (Okta, Entra ID, Ping Identity).
- Deterministic Query Pruning: When an employee submits a query, Glean searches the indexed Enterprise Graph using the authenticated user's security identity. It filters results against the mirrored source ACLs before constructing the LLM prompt. If the employee does not have native view permissions for a specific document in SharePoint or Google Drive, that document is purged from the candidate set entirely.
- Context Minimization: Only authorized, relevant text fragments (chunks) are assembled into the contextual prompt. The third-party LLM receives only what the specific user already has permission to read.
2. Zero Data Retention (ZDR) Protocol: Technical and Contractual Guarantees
Even when retrieved context is strictly authorized, CISOs must verify that data transmitted across external model endpoints does not persist on third-party infrastructure. Glean implements Zero Data Retention across both its managed and self-configured model routing.
Contractual Non-Training & Zero-Day Storage Agreements
When organizations utilize the Glean Universal Model Key—Glean's managed interface for routing queries across frontier models like OpenAI GPT-4o, Anthropic Claude 3.5 Sonnet, and Google Gemini—Glean operates under enterprise-grade commercial agreements that enforce:
- Zero-Day Data Retention (ZDR): Prompts, retrieved context chunks, and generated completions are processed strictly in-memory during the inference lifecycle. Once the response stream terminates, payloads are discarded from provider memory.
- No Foundational Model Training: Model providers are contractually prohibited from using enterprise inputs or outputs to train, fine-tune, or validate public or proprietary models.
- No Human-in-the-Loop Diagnostic Sampling: Standard consumer or non-enterprise API tiers often reserve the right to store queries for 30 days to facilitate abuse monitoring and human review. Glean’s enterprise agreements explicitly disable abuse-monitoring persistence for customer tenant traffic.
Model Hub: Universal Model Key vs. Bring Your Own Key (BYOK)
Glean provides two operational architectures within its Model Hub, allowing CISOs to tailor data routing to internal risk tolerance:
| Operational Dimension | Glean Universal Model Key | Customer Key / BYOK (Cloud-Prem) |
|---|---|---|
| Model Provisioning | Managed by Glean; single unified connection | Enterprise provisions keys directly with providers |
| Supported Backends | OpenAI, Anthropic, Google, AWS Bedrock | Azure OpenAI, GCP Vertex AI, AWS Bedrock |
| Model Selection | Automated dynamic routing based on latency and cost | Manually assigned by model administrator |
| ZDR Enforcement | Backed by Glean's enterprise master service agreements | Governed directly by customer's hyperscaler BAA |
| Network Egress | Managed egress to verified model provider APIs | Confined to customer private VPC endpoints |
| Billing & Cloud Commit | Unified software and token consumption via Glean | Depletes customer cloud commits (e.g., AWS EDP, MACC) |
365Finds recommends that organizations operating under high regulatory scrutiny (such as FINRA, HIPAA, or strict European data residency mandates) deploy the BYOK architecture via Azure OpenAI or AWS Bedrock. While Glean's Universal Model Key simplifies model switching and provides automated performance optimization, BYOK guarantees that API egress never leaves the enterprise's pre-existing hyperscaler security boundaries.
3. Infrastructure Topologies: Customer VPC vs. Hosted Single-Tenant
A common point of confusion during procurement is whether Glean runs as a shared multi-tenant SaaS or within an isolated perimeter. Glean provides two deployment models:
Model A: Glean-Hosted Single-Tenant SaaS
In the hosted configuration, Glean provisions a dedicated, logically isolated cloud tenant for each enterprise customer on Google Cloud Platform (GCP) or AWS. Data is not pooled into shared multi-tenant databases. Encryption is enforced using customer-specific encryption keys (CMEK) with AES-256 at rest and TLS 1.2+ in transit.
Model B: Customer-Hosted ("Cloud-Prem") VPC Deployment
For tier-one banking institutions, defense contractors, and healthcare systems, Glean supports a customer-hosted managed deployment:
- Deployment Inside Customer Boundary: The enterprise provisions an isolated cloud project or VPC inside its own AWS or GCP account using Glean-supplied CloudFormation or Terraform templates.
- Internal Data Plane: All indexing jobs, connector crawlers, vector stores, Elasticsearch clusters, and identity caches execute within the customer's cloud boundary. Enterprise data never resides on Glean-owned servers.
- Private Network Controls: Security teams can attach VPC Service Controls (VPC-SC), AWS Service Control Policies (SCPs), and configure internal proxy routing. Runtime monitoring sensors (such as Wiz, CrowdStrike Falcon, or Palo Alto Prisma) can inspect instances directly.
- Managed Control Plane: Glean operates and updates the software remotely via secure, auditable administrative tunnels adhering to the principle of least privilege, eliminating day-to-day administrative maintenance for internal engineering teams.
4. Active Governance: Glean Protect & Protect+
Static ACL mirroring alone cannot fix pre-existing enterprise data hygiene failures. If an employee mistakenly marks a confidential acquisition deck as "Public to Everyone in Domain" within Google Drive, Glean’s ACL parser will recognize the file as authorized for all domain users.
To mitigate this risk, Glean incorporates an active governance layer through Glean Protect and Protect+:
- Overshared Content Detection & Automated Hiding: Glean continuously inspects connected content repositories to identify files containing sensitive patterns (credentials, PII, financial ledgers, HIPAA data) that possess overly permissive sharing configurations (such as global link sharing). Administrators can define automated policies to hide overshared items from AI indexing until owners remediate file permissions.
- Runtime Prompt Injection Guardrails: Protect+ evaluates user prompts and contextual inputs in real time, screening for adversarial jailbreaks, system prompt overrides, and malicious payloads with a tested 96.9% detection accuracy.
- Agent Scope and Action Alignment (AWARE Framework): For enterprise AI agents capable of executing write actions (e.g., creating Jira tickets, updating Salesforce records, sending Slack messages), Glean enforces the AWARE governance framework, developed alongside Databricks and Unit 42. Agents operate under user-delegated authentication; an agent cannot perform write operations or view context exceeding the logged-in user’s source permissions.
CISO Audit Checklist: How to Verify Zero Leakage
When validating Glean during technical evaluations and annual compliance audits, security teams should execute the following verification procedures:
[Phase 1: Ingestion & ACL Sync]
├── Verify SCIM user provisioning and group mapping in Okta/Entra ID
├── Confirm continuous connector delta-syncs for restricted workspaces
└── Run boundary tests using dummy restricted files across diverse roles
[Phase 2: Network & LLM Egress Audit]
├── Inspect outbound egress logs from Glean instance to LLM provider IPs
├── Verify all traffic enforces TLS 1.2+ with mutual authentication
└── Check Model Hub configuration for Universal Model Key ZDR enforcement / BYOK
[Phase 3: Active Governance & Logging]
├── Configure automated auto-hide rules for overshared PII and financial assets
├── Stream raw audit logs to SIEM (Splunk, Datadog, Snowflake)
└── Test prompt injection attempts to confirm real-time Protect+ blocking
- Step 1: Conduct Restricted File Canary Tests. Create a test file in Confluence or Google Drive with restrictive permissions granted exclusively to an executive user account. Query Glean Assistant from a standard employee account using exact keyword phrases from the restricted document. Verify that the file is neither cited, summarized, nor reflected in token generation.
- Step 2: Inspect Egress Network Logs. In a Customer-Hosted VPC deployment, inspect NAT Gateway and VPC flow logs. Verify that outbound HTTPS connections terminate exclusively at approved source connector endpoints and authorized LLM provider APIs (e.g.,
openai.com,anthropic.com, or customer private Azure OpenAI endpoints). - Step 3: Audit Model Hub Configuration. Navigate to the Glean Admin Console (
Admin Console → Models). If using Universal Model Key, verify that the active models are governed by Glean's Zero Data Retention terms. If using BYOK, verify that provider endpoints are configured against enterprise accounts with disabled prompt logging. - Step 4: Stream Audit Events to SIEM. Configure Glean's real-time audit streaming into your enterprise SIEM (Splunk, Snowflake, Datadog). Confirm that event schemas capture user identity, query timestamp, touched data sources, and policy alerts without logging raw decrypted file contents into index stores.
The 365Finds Institutional Judgment
365Finds evaluates Glean's security architecture as follows:
- Where Glean Wins: Glean's query-time ACL pruning represents the gold standard for enterprise AI search. Alternative approaches that attempt to filter data post-generation or rely on LLM system instructions to enforce data privacy fail under adversarial testing. Glean solves the hard engineering problem: synchronizing nuanced, dynamic permissions across hundreds of SaaS systems in real time.
- The Strategic Trade-Off: Glean's security is fundamentally bound to source system authorization accuracy. While Glean Protect significantly reduces oversharing risks, organizations with severely neglected document governance will face initial administrative cleanup overhead.
- Our Recommendation:
- For technology, digital commerce, and modern mid-market enterprises, the Glean-Hosted SaaS with Universal Model Key provides robust, contractually verified ZDR protection while allowing access to frontier models and automated auto-routing without operational friction.
- For heavily regulated industries (banking, defense, healthcare, and critical infrastructure), 365Finds explicitly recommends the Customer-Hosted VPC deployment paired with Bring Your Own Key (BYOK) via private Azure OpenAI or AWS Bedrock endpoints. This architecture guarantees complete data sovereignty, utilizes pre-existing cloud EDP spend commitments, and ensures zero enterprise knowledge leaves internal network perimeters.