Security
A web application must let a customer upload one file to a designated key in a private S3 bucket for ten minutes without receiving AWS credentials. What should the backend provide?
Show the answer
Correct answerD. A presigned PUT URL for the designated object key.
AWhy not this: A GET signature authorizes downloading the object, not uploading it.
BWhy not this: A browser timeout does not authorize access to a private S3 object.
CWhy not this: Public write permission does not provide a customer-specific, ten-minute upload authorization.
DWhy this is right: A PUT signature grants time-limited upload access to the designated key without exposing AWS credentials.
A presigned PUT URL authorizes an upload to the specified object key for a limited time without giving the customer AWS credentials. A presigned GET URL authorizes retrieval, not upload.