How to upload multiple files to S3 using a presigned URL and restrict to a single folder?

3.8k Views Asked by At

Suppose you want to upload multiple files into a directory /upload using a presigned URL to Amazon S3.

How to upload multiple files with a single presigned URL?

How to restrict uploads to a certain folder?

1

There are 1 best solutions below

0
On

Objects can be uploaded to private Buckets by using an HTTP POST. It includes parameters to specify the destination, such as a specific subdirectory. However, this method only supports one object at a time.

See: Browser-Based Uploads Using POST