Happy to Announce Our New Discussion Forum | Join Now

How to restrict bubket access to a specific country only


#1

An organization uses Amazon S3 to store video content served via its website. It only has rights to deliver this content to users within its own country and needs to restrict access. How can the organization ensure that these files are only accessible from within its country

1)Use a custom Amazon S3 bucket policy to allow access only to users inside the organization’s country

2)Use Amazon CloudFront and Geo Restriction to allow access only to users inside the organization’s country

3)Use an Amazon S3 bucket ACL to allow access to users inside the organization’s country

4)Use file-based ACL permission on each video file to allow access only to users inside the organization’s country

I am getting ready for SSA exam. I need the answer for the above sample question. I believe answer is 2nd, but need confirmation.


#2

I also go for 2. Bucket policy conditions doesn’t have Geo restrictions , ACL doesn’t either give an option as mentioned. There is no file based ACL in S3