An application must allow users to upload files directly to S3 without routing through the application server. Which mechanism enables this securely?
-
A
Store AWS credentials in the browser JavaScript
-
B
Generate a presigned S3 URL on the server and return it to the client
-
C
Make the S3 bucket publicly writable
-
D
Use an API Gateway proxy for all S3 uploads