Amazon S3 provides a mechanism of bucket policies - a little JSON documents which can be applied to a bucket and are used to describe security attributes of bucket and its contents.
To change Amazon S3 bucket policy, select a bucket, and in the Properties tool window select Policy property and click the ellipsis button next to it:
Bucket policy editor appears. Here you can modify your policy and click OK to save it.