Security audits and compliance
Google restricted scopes
The Google API permissions with the widest access to user data, such as reading Gmail, which need extra verification and often a yearly security assessment.
Google calls restricted scopes the subset that gives wide access to Google user data. For Gmail the scope list marks full mailbox access, gmail.readonly, gmail.modify, gmail.compose and gmail.metadata as restricted, while gmail.send is only sensitive. Drive and some other APIs have restricted scopes too.
The verification for them requires a permitted application type and compliance with the Limited Use policy. If the app stores or transmits the data through a server, it must also pass a CASA assessment and send Google the assessor’s Letter of Validation, then repeat this every 12 months; adding a restricted scope later can trigger a reassessment. Apps that keep the data only on the user’s device can avoid the assessment, which makes this an architecture decision as much as a compliance one.
Sources
- Google for Developers: Choose Gmail API scopes developers.google.com
Related terms
- Google OAuth app verification: Google’s review an app must pass before public users can grant it sensitive or restricted scopes, such as Calendar events or Gmail messages.
- CASA (Cloud Application Security Assessment): The security assessment based on OWASP ASVS that Google requires for apps using restricted scopes, such as Gmail data.
- CASA Letter of Validation (LOV): The letter an authorized CASA assessor issues when an app meets the requirements, sent to Google to complete restricted-scope verification.
- OAuth: A standard that lets an app act on a user’s account elsewhere (mail, calendar, files) without ever seeing the password.
- Principle of least privilege: Every person, service and AI agent gets only the access needed for its task, for only as long as needed, so a stolen account can do little harm.
