How can the company limit the ability to download a premier content file in the S3 bucket to paid subscribers only?
Apply a bucket policy that allows anonymous users to download the content from the S3 bucket.
Generate a pre-signed object URL for the premier content file when a paid subscriber requests a download.
Add a bucket policy that requires multi-factor authentication for requests to access the S3 bucket objects.
Enable server-side encryption on the S3 bucket for data protection against the non-paying website visitors.
Explanations:
Applying a bucket policy that allows anonymous users to download the content would expose the premier content to non-paying visitors, contradicting the goal of restricting access to paid subscribers only.
Generating a pre-signed object URL allows the company to provide time-limited access to specific files in the S3 bucket. Only paid subscribers can obtain these URLs when they request a download, ensuring that access is limited to authorized users.
A bucket policy requiring multi-factor authentication (MFA) does not inherently restrict access to only paid subscribers. While it adds a layer of security, it does not address the requirement of verifying a user’s subscription status.
Enabling server-side encryption protects data at rest but does not control access to the files. Non-paying website visitors could still access the content if other permissions are incorrectly configured, so it doesn’t solve the access restriction issue.