简体   繁体   English

Amazon Web Service(AWS)S3,如何上传受密码保护的文件夹?

[英]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 . 在查看了GIT 存储库并阅读了网络接口说明之后 ,还浏览了这个不错的教程 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)? 现在我的问题是,我可以用密码保护文件夹(Amazon称为对象的对象)吗?

I am asking because I sowed in the web interface that it specifies: 我问是因为我在指定的Web界面中进行了播种:

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. 将文件添加到Amazon S3时,可以选择在文件中包含元数据,并设置权限来控制对该文件的访问。

Password protection for S3 Bucket is not available. S3存储桶的密码保护不可用。 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. 如果要保护S3存储桶,则必须使用签名URL访问S3资源,或者可以将S3存储桶设为私有。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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