A security team wants to ensure only approved AWS accounts can access a specific S3 bucket, even if IAM roles are misconfigured. What is the strongest bucket-level control?

Answer

Bucket policy restricting access by principal account

Explanation

Bucket policies can enforce access based on the requesting principal, including specific AWS account IDs. This provides a strong boundary even when IAM is incorrect.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list