Can you put permissions on S3 file storage?

2020-06-24 05:04发布

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?

标签: amazon-s3
3条回答
贼婆χ
2楼-- · 2020-06-24 05:49

I believe you can also generate 'passwords' that are only valid for a certain period of time

查看更多
闹够了就滚
3楼-- · 2020-06-24 05:50

Not passwords, but you can create links that expire on at a certain time: http://docs.amazonwebservices.com/AmazonS3/2006-03-01/index.html?RESTAuthentication.html

查看更多
贼婆χ
4楼-- · 2020-06-24 05:52

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.

查看更多
登录 后发表回答