Security Architecture

A company exposes a cloud API to third-party apps that need read-only access to a user's calendar without ever seeing the user's password. Which approach BEST provides this?

Show the answer

Correct answerD. OAuth 2.0 access tokens with a limited read-only scope

AWhy not this: basic authentication hands the user's password to the third party, which the requirement forbids.

BWhy not this: IP allow-listing restricts network origin and grants no per-user or per-scope permission.

CWhy not this: a shared key identifies the app and cannot limit access to one user's data by scope.

DWhy this is right: scoped tokens delegate limited, read-only access without exposing the user's password.

OAuth 2.0 delegates limited access through scoped tokens, so the app never handles the user's password. A shared API key identifies the app and cannot express per-user, read-only delegated permissions.