An administrator needs to configure a Shared Access Signature (SAS) to grant a developer temporary access to upload logs to an Azure storage account. The configuration must follow the principle of least privilege and enforce security best practices. Which two settings should the administrator configure directly on the SAS token to minimize security risks?
- An expiration time set to a short duration, such as 2 hoursCevap
- A restricted IP address or IP range from which the developer is allowed to connectCevap
- CAn expiration time set to 365 days to ensure uninterrupted access for the developer
- DThe Storage Blob Data Contributor role assigned directly to the SAS token
- EThe 'Allow trusted Microsoft services' exception setting
Cevap
The correct options are configuring an expiration time set to a short duration, such as 2 hours, and a restricted IP address or IP range from which the developer is allowed to connect.
Enforcing a short validity window (such as 2 hours) and limiting access to a specific public IP range are standard security configurations directly supported in the Shared Access Signature parameters. These restrict both the temporal and network bounds of the delegation.
Adım Adım Çözüm
Anahtar Kavram
Applying the principle of least privilege to Shared Access Signatures (SAS) by restricting duration and network origin.