你可以把权限放在S3文件存储上吗?(Can you put permissions on S3 file storage?)

你可以对上传到S3的文件设置权限吗?

或者如果有人知道文件的公会/网址,他们可以公开访问它?

如果是,我们可以设置什么样的权限?

Can you put permissions on files that are uploaded to S3?

Or if someone knows the guild/url to the file they can access it publicly?

If yes, what kind of permissions can we set?

最满意答案

权限是通过一个关键机制来实现的。 您可以为每个人提供可读的内容(无密码)或需要密码。 您可以通过生成一个可以限制最大带宽的密钥URI来授予上传权限。

关于访问的亚马逊FAQ

有关认证和访问控制的亚马逊文档

由于dcaunt状态, 查询字符串认证需要过期日期。

Permissions are implemented with a key mechanism. You can make content readable for everyone (no password) or require a password. You grant upload privileges by generating a keyed URI which you can limit to a maximum bandwidth.

Amazon FAQ about access

Amazon documentation on authentication and access control

As dcaunt states, query string authentication requires an expiration date.

更多推荐