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?
You can assign AWSS3ObjectCannedACLPublicRead to the ACL property for your AWSS3PutObjectRequest .
AWSS3ObjectCannedACLPublicRead
ACL
AWSS3PutObjectRequest
Source: https://habr.com/ru/post/1202334/More articles:typeahead bootstrap3: how to pass a parameter to the remote? - twitter-bootstrap-3Throw memory access exception in PowerPC - cGo / etc / resolv.conf is missing in android - androidHow to set reponseType as blob for $ http in AngularJs? - angularjsShow Markers on Google Maps Dynamically - Rails 3.2 - ruby | fooobar.comHow many branch types are there in git? - gitThe shortest way to write immutable structure in C # - immutabilityVideo does not scale when scaling SurfaceView - androidSpark 1.0.2 (also 1.1.0) freezes on a section - hadoopShould I decisively name all the assemblies? - c #All Articles