Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock the distination filename key for a given user #74

Open
tremby opened this issue Aug 30, 2016 · 2 comments
Open

Lock the distination filename key for a given user #74

tremby opened this issue Aug 30, 2016 · 2 comments

Comments

@tremby
Copy link

tremby commented Aug 30, 2016

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?

@abuisine
Copy link
Collaborator

I confirm that the current implementation does not allow to limit an upload to a particular filename.
You can mitigate this with strict policies on amazon.
I will try to have a look as I got the same need :P

@tremby
Copy link
Author

tremby commented Sep 25, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants