---
title: "Enterprise Security and Compliance"
description: "Understanding data handling, access controls, and deployment options in Autohand for enterprise teams."
sidebar:
  label: "Enterprise Security"
seo:
  description: "Enterprise security guide for Autohand: data handling, access controls, audit logging with hooks, and deployment options."
---

:::tip
**Related Skills:** Strengthen your security posture with specialized skills from [Skilled](https://skilled.autohand.ai). Explore [security auditing skills](https://skilled.autohand.ai/categories/quality), [compliance workflows](https://skilled.autohand.ai/categories/workflows), and [infrastructure security skills](https://skilled.autohand.ai/categories/devops) for your enterprise needs.
:::

## Security overview [#overview]

Autohand is built with enterprise security requirements in mind. This guide covers the security controls, data handling, and deployment options available.

- Data encrypted in transit with TLS
- Role-based access control (RBAC)
- Audit logging you configure with hooks

For security questionnaires and compliance documentation, [contact sales](https://autohand.ai/contact-sales/).

## Data handling [#data-handling]

Autohand CLI keeps session history on the developer's machine, in `~/.autohand/sessions/`. Cloud upload is controlled by settings in `~/.autohand/config.json`:

```json
{
  "telemetry": {
    "enabled": false,
    "enableSessionSync": false
  },
  "sync": {
    "enabled": false
  },
  "share": {
    "enabled": false
  }
}
```

- `telemetry.enabled` is off by default (opt-in). `telemetry.enableSessionSync`, which uploads full session content, is also off by default.
- `sync.enabled` controls [settings sync](/working-with-autohand-code/settings-sync), which is on by default for signed-in users. Set `sync.enabled` to `false` to turn it off.
- `share.enabled` controls the `/share` command (on by default).
- `--ephemeral` keeps a run out of session history entirely: no session files, no auto-memory, no session sync.
- `--bare` turns off telemetry, session sync, settings sync, hooks and community skills for that run.

Prompts and code context go to the model provider you configure. To keep code on your own infrastructure, use a local provider such as [Ollama](/integrations/ollama), [llama.cpp](/integrations/llama-cpp) or [MLX](/integrations/mlx), or a cloud account you control such as [AWS Bedrock](/integrations/aws-bedrock), [Azure Foundry](/integrations/azure-foundry) or [Google Vertex AI](/integrations/gcp-vertex).

## Access control [#access-control]

The CLI controls what the agent may do through the `permissions` block of the config. Put it in a shared config file and point the CLI at it with `--config`, or commit a project `.autohand/config.json`:

```json
{
  "permissions": {
    "mode": "interactive",
    "allowList": ["run_command:npm test", "run_command:npm run lint"],
    "denyList": ["run_command:npm publish", "run_command:git push:*"]
  }
}
```

- `mode`: `interactive` (default, asks before risky actions), `restricted` (denies all dangerous operations) or `unrestricted` (no prompts).
- `allowList`: tools and commands that never need approval. `denyList`: tools and commands that are always blocked.
- Per run, `--restricted`, `--allowed-tools` and `--disallowed-tools` narrow what the agent can use.
- A `pre-tool` [hook](/working-with-autohand-code/hooks) can inspect each tool call and deny it.

Team roles (owner, admin, contributor) are managed in Autohand Console. See [Manage team members](/console/team-members).

## Sign-in [#sso]

Single sign-on (SAML, OIDC) with your identity provider is on the roadmap and is not available on any plan today. Developers sign in to the CLI with a browser-based device login:

```bash
# Sign in (opens a browser and shows a one-time code)
autohand --login

# Sign out
autohand --logout
```

## Audit logging [#audit]

Autohand CLI has no admin log commands. Record agent activity yourself with [hooks](/working-with-autohand-code/hooks), which run shell commands on events such as `post-tool` and `file-modified`. This config writes one line per tool call; point the command at your log shipper to forward it to a SIEM:

```json
{
  "hooks": {
    "enabled": true,
    "hooks": [
      {
        "event": "post-tool",
        "command": "echo \"$(date -u +%FT%TZ) $HOOK_SESSION_ID $HOOK_TOOL success=$HOOK_SUCCESS\" >> ~/.autohand/audit.log",
        "description": "Audit tool calls"
      }
    ]
  }
}
```

For unattended runs, `--output-format stream-json` prints every `tool_start`, `tool_end` and `file_modified` event as a JSON line you can store. Hooks do not run with `--bare`. [Agent traces](/working-with-autohand-code/agent-traces) (`autohand traces on`) send session metadata to Autohand Console.

## Deployment options [#deployment]

Choose the deployment model that meets your requirements:

- **Cloud (SaaS)**: Fully managed, multi-tenant deployment
- **Dedicated cloud**: Available on request
- **Private cloud**: Available on request, in your AWS, GCP or Azure account
- **On-premises**: Available on request

Dedicated, private cloud and on-premises options are delivered through [Autohand Outpost](https://autohand.ai/code/outpost/), which deploys on your own infrastructure. Outpost is sales-led; contact the Autohand sales team to scope it. The CLI requires sign-in to an Autohand account.

<AcademyCta course="deploying-autohand-with-confidence" title="Deploying Autohand with confidence" blurb="Plan a rollout, write a shared permission policy, and make informed privacy choices." />
