Permissions for files downloaded using AWS iOS SDK 2.0

I upload files to the S3 bucket using a method based on sample AWS code:

http://docs.aws.amazon.com/mobile/sdkforios/developerguide/s3transfermanager.html

The problem is that after downloading these files, the default permission to view these files is granted only to the owner of the S3 bucket, and I would like them to be publicly available. How can I achieve this using iOS SDK 2.0?

+5
source share
1 answer

You can assign AWSS3ObjectCannedACLPublicRead to the ACL property for your AWSS3PutObjectRequest .

+8
source

Source: https://habr.com/ru/post/1202334/


All Articles