I may be missing something, but it doesn't look like the upload destination (S3 key) is enforced at all. Am I right that a user given a signature by this could upload to any location in the S3 bucket, as far as it's allowed by the bucket policy?
Would a user then be able to overwrite a file uploaded by another user?
What would it take to give a user a particular location they're allowed to upload to, such that they can't change this without requesting another signing key?
I may be missing something, but it doesn't look like the upload destination (S3 key) is enforced at all. Am I right that a user given a signature by this could upload to any location in the S3 bucket, as far as it's allowed by the bucket policy?
Would a user then be able to overwrite a file uploaded by another user?
What would it take to give a user a particular location they're allowed to upload to, such that they can't change this without requesting another signing key?