# Google Drive

SecureBarndoor Managed Google Workspace

**Summary:** Custom built connector to store, search, and manage files in Google Drive via AI tools.

**How Teams Use It:** The Barndoor-managed Google Drive MCP server enables agents to search and retrieve files, manage permissions, and organize content across shared drives — making it efficient for automating file management and collaboration workflows.

## Policies

| Policy Title                           | Policy Description                             |
|----------------------------------------|------------------------------------------------|
| block-external-gdrive-sharing          | Disallows sharing any Google Drive assets      |

```json
{
  "name": "block-external-gdrive-sharing",
  "authorized": false,
  "actions": [
    "tools/call:create_permission",
    "tools/call:update_permissions"
  ],
  "roles_groups": [
    "*"
  ],
  "condition": {
    "match": {
      "any": {
        "of": [
          {
            "expr": "!request.resource.attr.emailAddress.contains(\"@barndoor.ai\")"
          },
          {
            "expr": "request.resource.attr.type == \"anyone\""
          }
        ]
      }
    }
  }
}
```
