简体   繁体   中英

Amazon Web Service (AWS) S3, how to upload folder that is password protected?

After looking over the GIT repository and reading the web interfacce instructions , also had a look over this nice tutorial . I sow that it is possible to create a folder with some data(in this case an image) as:

...
_uploadRequest = [AWSS3TransferManagerUploadRequest new];
....
_uploadRequest.key = @"foldername/image.png";
... 

Now my question is hoe can I password protect the folder(Object as Amazon calls them)?

I am asking because I sowed in the web interface that it specifies:

When you add a file to Amazon S3, you have the option of including metadata with the file and setting permissions to control access to the file.

Password protection for S3 Bucket is not available. If you want to secure the S3 bucket either you have to use Signed URLS to access the S3 resources or you can keep the S3 bucket private.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM