# Access control

Choose whether visitors open a project directly, enter a password, or verify an email address.

## Choose an access mode

| Visitor experience | `settings.accessMode` | Additional fields |
| --- | --- | --- |
| Public link | `public` | None |
| Shared password | `password` | `password` |
| Capture verified emails | `email_gate` | None |
| Admit specific email addresses | `email_protect` | `allowedEmails` |

Use [password protection](../password-protection/) for a shared secret, [email capture](../email-capture/) to collect verified visitor addresses, or an [email allowlist](../email-allowlist/) to restrict access to specific addresses. Search indexing controls discovery, not access.

## Change access

Send `accessMode` in the multipart `settings` field. Selecting a mode turns off the other access modes; `public` makes the project accessible to anyone with the link. Omit `accessMode` when changing unrelated settings. An owned project can be updated without uploading its content again.

Access changes for projects using SSO are managed in the dashboard. An API request attempting to change SSO access returns `SSO_MANAGED_IN_DASHBOARD`. See [settings reference](../settings/).
