Configure non-destructive Amazon S3 bucket policy
Posted
by
Assaf
on Server Fault
See other posts from Server Fault
or by Assaf
Published on 2012-04-14T18:15:44Z
Indexed on
2012/04/14
23:33 UTC
Read the original article
Hit count: 236
amazon-web-services
|amazon-s3
There's a bucket into which some users may write their data for backup purposes.
They use s3cmd
to put
new files into their bucket.
I'd like to enforce a non-destruction policy on these buckets - meaning, it should be impossible for users to destroy data, they should only be able to add data.
How can I create a bucket policy that only lets a certain user put a file if it doesn't already exist, and doesn't let him do anything else with the bucket.
© Server Fault or respective owner