Common presigned PUT pattern
Signs an operation, object location, expiration, and selected request details. It does not provide the POST policy's native minimum-and-maximum range condition.
The question was not whether a browser could upload directly to S3. It was where the size range, key, content type, and lifetime would be enforced when the browser could not be trusted.
Signs an operation, object location, expiration, and selected request details. It does not provide the POST policy's native minimum-and-maximum range condition.
Returns a destination and signed form fields. S3 evaluates exact-match, prefix, and content-length-range conditions.
This is not “PUT bad, POST good.” It is a placement decision for a specific requirement.
A permitted-size upload can still be hostile. POST policy does not replace malware scanning, document validation, authorization, encryption, retention, or audit logging.
Amazon S3 POST policy conditions · AWS guidance for presigned URLs
How CareFlow moved upload-size enforcement from client convention into an S3-evaluated POST policy—and tested the policy itself.