Security overview
Cursor's access controls answer four questions: who a person is, what a credential can do, where a request comes from, and what happened afterward. Team and organization admins manage these controls from the dashboard and the APIs that back them.
Most of these controls live on the Security and API Keys pages of the organization or team dashboard. You need the admin role on that team or organization to change them.
How the controls fit together
| Layer | What it controls | Where to read more |
|---|---|---|
| Identity | Who can sign in, and how accounts are created and removed. | SSO, SCIM, Identity and access management |
| Credentials | What a script, service, or integration can do without a person present. | API keys and service tokens, Service accounts |
| Sessions | Where each person is signed in, and how to end that access. | Session management |
| Network | Which addresses can reach Cursor, and which destinations agents can reach. | Network controls |
| OAuth Applications | Which third-party apps can act for your users. | OAuth Applications |
| Audit | A record of security events and admin changes. | Audit logs |
Identity
Identity is the base layer. Connect your identity provider with SSO so people sign in with accounts you control, and provision them with SCIM so access ends when someone leaves. Roles decide who can change security settings. See Members and roles.
Credentials
A credential acts without a person present, so each one should do one job. Cursor API keys carry a set of permissions and an expiry date that you choose when you create them. Service accounts give automation its own identity that isn't tied to an employee.
Start with API keys and service tokens.
Sessions
Every sign-in creates a session on one client: a browser, the desktop app, the CLI, or the mobile app. Members can review and revoke their own sessions. Admins can do the same for members of their team or organization.
See Session management.
Network
Two kinds of controls apply to network traffic, and they point in opposite directions:
- Inbound. The IP allowlist limits the addresses your members can sign in and call Cursor from.
- Outbound. Network access settings limit the destinations that agents can reach.
See Network controls.
OAuth Applications
Software outside Cursor can act for a user, with that user's consent and within the scopes you allow. A partner or internal app sends the user to a Cursor consent page and receives tokens for the access they approve.
See OAuth Applications.
Audit
Audit logs record sign-ins, credential changes, and changes to security settings. Review them in the dashboard, pull them through the Admin API, or stream them to your SIEM. See Audit logs.
Related
- Security and privacy hardening for a recommended configuration across the whole product.
- Privacy and data governance for how Cursor handles your code and data.
- Tenancy restriction for limiting your network to approved Cursor teams.
- Agent security and Cloud Agent security for how agents are sandboxed.