I would like to be able to limit the filetypes which are allowed to upload. I'm aware of allowed_content_types on the uploader, but this does not make s3 reject the file if the file's content type is not matching the specified allowed_content_types. To do that, the policy should include the allowed_content_types data.
Am I missing something, or is there no way to do this as of now?
I would like to be able to limit the filetypes which are allowed to upload. I'm aware of
allowed_content_types
on the uploader, but this does not make s3 reject the file if the file's content type is not matching the specifiedallowed_content_types.
To do that, the policy should include theallowed_content_types
data.Am I missing something, or is there no way to do this as of now?