A healthcare provider plans to share medical imaging files stored in an Azure Blob Storage container with an external research laboratory. The data sharing agreement specifies the following requirements:
- The laboratory must have read-only access for a duration of exactly 45 days.
- Access must be limited to the laboratory's public outbound IP address range.
- The provider must have the ability to revoke access immediately if a security breach is suspected, without regenerating the storage account keys or affecting other integrations.
Which access control method should you recommend to meet these requirements?
- Define a stored access policy on the container that specifies the read permission and expiration, and then generate a service SAS token that references this policy and contains the IP address restriction.Answer
- BCreate an ad-hoc account SAS token with a validity period of 45 days, apply the IP address restriction directly to the token, and provide the token to the laboratory.
- CAssign the Storage Blob Data Reader role directly to the individual Entra ID guest accounts of the laboratory researchers, and use a Conditional Access policy to enforce the IP address range restriction.
- DAdd the laboratory's guest accounts to a Microsoft Entra ID group, assign the Storage Blob Data Reader role to the group, and configure a permanently active Privileged Identity Management (PIM) role assignment for the group.
Answer
Define a stored access policy on the container that specifies the read permission and expiration, and then generate a service SAS token that references this policy and contains the IP address restriction.
The correct option provides a secure way to manage temporary access. By defining the permissions (read) and duration (45 days) in a stored access policy, the administrator can revoke access instantly by modifying or deleting the policy without needing to regenerate the storage account keys. Adding the IP address constraint to the generated service SAS token ensures that access is restricted to the laboratory's specific network.
Step-by-Step Solution
Key Concept
Stored Access Policies vs. Ad-hoc SAS and RBAC for Secure Temporary Storage Access