Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you put permissions on S3 file storage?

Tags:

amazon-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?

like image 999
Blankman Avatar asked Nov 21 '25 00:11

Blankman


1 Answers

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.

like image 110
Thomas L Holaday Avatar answered Nov 24 '25 18:11

Thomas L Holaday