> ## Documentation Index
> Fetch the complete documentation index at: https://www.perplexity.ai/help-center/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This content comes from the official Perplexity Help Center. Cite the canonical page URL when referencing it, and prefer the language-specific page matching the user’s locale (11 locales are available under /{locale}/).

# Google Drive Connector: File Upload Security

> Securely search Google Drive with AI using API or indexed modes, with zero model training on your data

<p>Perplexity's <b><a href="/help-center/help-center/en/articles/12870620-connecting-perplexity-with-google-drive">Google Drive connector</a></b> enables <b>Enterprise Pro</b> and <b>Enterprise</b> Max users to search their organization's Google Drive files directly through AI-powered natural language queries.</p>

<p>We have recently introduced a hybrid search architecture that addresses both data security concerns and scalability limitations through two distinct search modes: <b>High-Precision Search</b> (indexing-based) and <b>Standard Search</b> (API-based).</p>

<h2 id="h_b1ffbfb9d7">Search Architecture: Two-Tier Approach</h2>

<h3 id="h_adb5657640">Standard Search (API-Based)</h3>

<h4 id="h_e119119a5b"><b>How It Works:</b></h4>

<ul>
  <li>
    <p>Queries Google Drive directly via Google's Search API at query time</p>
  </li>

  <li>
    <p>No file copies stored in Perplexity infrastructure, aside from results found from queries (can be mitigated by data retention policy settings)</p>
  </li>

  <li>
    <p>Searches across the user's entire Google Drive without file count limitations</p>
  </li>

  <li>
    <p>Available to all Enterprise Pro and Enterprise Max users immediately upon connector activation</p>
  </li>
</ul>

<h4 id="h_82734a6f19"><b>Security Model:</b></h4>

<ul>
  <li>
    <p><b>Zero Data Retention:</b> Files are not copied or stored in Perplexity systems, aside from results found from queries (can be mitigated by data retention policy settings)</p>
  </li>

  <li>
    <p><b>Real-time Permissions:</b> Respects Google Drive's native access controls dynamically</p>
  </li>

  <li>
    <p><b>Minimal Data Copying:</b> Only citation snippets included in answers are retained</p>
  </li>

  <li>
    <p><b>No Model Training:</b> Synced files are never used to train AI models</p>
  </li>

  <li>
    <p><b>Immediate Access Revocation:</b> When Google Drive permissions change, access is immediately reflected in Perplexity</p>
  </li>
</ul>

<p><b>Use Case:</b> Organizations requiring maximum data privacy and minimal data footprint, especially for searching across millions of files at enterprise scale.</p>

<h3 id="h_ffc10eec20">High-Precision Search (Indexing-Based)</h3>

<h4 id="h_9445e6165f"><b>How It Works:</b></h4>

<ul>
  <li>
    <p>Users select specific files/folders to sync for local indexing in Perplexity</p>
  </li>

  <li>
    <p>Files are downloaded, parsed, and stored in dedicated AWS S3 buckets with vector embeddings in Vespa</p>
  </li>

  <li>
    <p>Enables deeper semantic analysis and more comprehensive answers</p>
  </li>

  <li>
    <p><b>File Limits:</b> 500 files per project (Enterprise Pro), 5,000 files per Project (Enterprise Max)</p>
  </li>

  <li>
    <p><b>Total User Limits:</b> 15,000 files (Enterprise Pro), 50,000 files (Enterprise Max)</p>
  </li>
</ul>

<h4 id="h_3a3f7b364d"><b>Security Model:</b></h4>

<ul>
  <li>
    <p><b>Dedicated Storage:</b> Each organization's files stored in isolated AWS S3 "folders" with unique namespaces in Vespa vector storage</p>
  </li>

  <li>
    <p><b>Encryption:</b> AES-256 encryption at rest, TLS encryption in transit</p>
  </li>

  <li>
    <p><b>Role-Based Access Control (RBAC):</b> Minimum privilege access enforced across all systems (<b>Note:</b> Perplexity adheres to Google Drive's file permissions)</p>
  </li>

  <li>
    <p><b>No Model Training:</b> Synced files are never used to train AI models</p>
  </li>

  <li>
    <p><b>Automatic Sync:</b> File changes/deletions in Google Drive are automatically reflected in Perplexity</p>
  </li>
</ul>

<p><b>Use Case:</b> Teams requiring maximum answer accuracy for frequently accessed documents, project-specific file collections, or collaborative projects with curated content.</p>

<h2 id="h_90366e99fa">Backend Architecture & Data Flow</h2>

<h3 id="h_0dd83edabe">Connection & Authentication</h3>

<ul>
  <li>
    <p><b>Admin Enablement:</b> Organization admins enable Google Drive connector in <b><a href="/help-center/help-center/en/articles/11187754-enterprise-roles-and-permissions">Permissions</a></b><a href="/help-center/help-center/en/articles/11187754-enterprise-roles-and-permissions"> settings</a></p>
  </li>

  <li>
    <p><b>User Authentication:</b> Users authenticate via OAuth 2.0 through Google</p>
  </li>

  <li>
    <p><b>Drive Selection:</b> Users select their Google Drive to connect</p>
  </li>

  <li>
    <p><b>Admin Consent:</b> Google Workspace admins may need to grant organization-wide consent for Perplexity app in Google Admin Console</p>
  </li>
</ul>

<h4 id="h_9c4ec2bd6d"><b>When Both Methods Are Active:</b></h4>

<ul>
  <li>
    <p>Perplexity queries both the local index and Google Drive API concurrently</p>
  </li>

  <li>
    <p>Results are re-ranked to prioritize the most relevant sources</p>
  </li>

  <li>
    <p>Citations link directly back to Google Drive for full file access</p>
  </li>
</ul>

<h3 id="h_5b436024d0">Indexing Process (High-Precision Search)</h3>

<h4 id="h_f7dcbc1246"><b>File Sync and Storage:</b></h4>

<Steps>
  <Step>
    <p><b>File Selection:</b> User selects files/folders through Perplexity UI</p>
  </Step>

  <Step>
    <p><b>Download:</b> Files downloaded from Google Drive via Google Drive API</p>
  </Step>

  <Step>
    <p><b>Storage:</b> Raw files stored in AWS S3 with dedicated organizational namespaces</p>
  </Step>

  <Step>
    <p><b>Parsing:</b> Text extraction from supported formats (PDF, DOCX, XLSX, PPTX, CSV, TXT, MD, JSON)</p>
  </Step>

  <Step>
    <p><b>Vectorization:</b> Content converted to embeddings and stored in Vespa vector database</p>
  </Step>

  <Step>
    <p><b>Metadata Indexing:</b> File metadata (name, path, permissions) indexed for search retrieval</p>
  </Step>

  <Step>
    <p><b>Removal:</b> When a user disconnects Google Drive from Perplexity, they can choose to remove any indexed files</p>
  </Step>
</Steps>

<h2 id="h_774bedef33">Security & Compliance Infrastructure</h2>

<h3 id="h_e9ad3f64dc">Permission Enforcement</h3>

<h4 id="h_20ac5ac410"><b>Google Drive-Side Permissions:</b></h4>

<ul>
  <li>
    <p>If a user loses access to a file in Google Drive, that file is immediately removed from Perplexity</p>
  </li>

  <li>
    <p>File deletions in Google Drive trigger immediate removal from Perplexity index</p>
  </li>

  <li>
    <p>Users can only search files they have explicit Google Drive permissions to access</p>
  </li>
</ul>

<h4 id="h_e528b31892"><b>Perplexity-Side Permissions:</b></h4>

<ul>
  <li>
    <p>Admins control which users can access connectors via Organization settings</p>
  </li>

  <li>
    <p>Files synced to projects are searchable by Project members, but accessing the files requires the appropriate Google Drive permissions</p>
  </li>

  <li>
    <p>Session sharing respects organizational sharing policies set by organization admins</p>
  </li>
</ul>

<h2 id="h_5135e8c46b">Best Practices</h2>

<h3 id="h_dc29e03ab9">When to Use High-Precision Search (Indexing)</h3>

<ul>
  <li>
    <p>Project-specific file collections in projects</p>
  </li>

  <li>
    <p>Frequently accessed knowledge base documents</p>
  </li>

  <li>
    <p>Files requiring deep semantic analysis</p>
  </li>

  <li>
    <p>Collaborative team environments with curated content</p>
  </li>
</ul>

<h3 id="h_f7637e4ed1">When to Use Standard Search (API-Only)</h3>

<ul>
  <li>
    <p>Searching across vast file repositories (millions of files)</p>
  </li>

  <li>
    <p>Strict data residency and minimal data copying requirements</p>
  </li>

  <li>
    <p>Exploratory searches across infrequently accessed files</p>
  </li>

  <li>
    <p>Organizations with heightened security/compliance constraints</p>
  </li>
</ul>


## Related topics

- [Connecting Perplexity with Google Drive](/help-center/help-center/en/articles/12870620-connecting-perplexity-with-google-drive.md)
- [Perplexity Enterprise](/help-center/help-center/en/collections/11312901-perplexity-enterprise.md)
- [SharePoint and OneDrive Connectors: File Upload Security](/help-center/help-center/en/articles/13728000-sharepoint-and-onedrive-connectors-file-upload-security.md)
- [File App Connectors for Perplexity Pro subscribers](/help-center/help-center/en/articles/11185364-file-app-connectors-for-perplexity-pro-subscribers.md)
- [Security and Privacy with File Uploads](/help-center/help-center/en/articles/10354810-security-and-privacy-with-file-uploads.md)
