A bucket owner can edit a bucket policy to set access permissions for the bucket.
A bucket policy can centrally control access to the bucket and objects in the bucket, based on different parameters, such as the bucket policy effect and authorized principals. Permissions attached to a bucket apply to all the objects in the bucket. A bucket owner can use one bucket policy to set permissions for any number of objects in the bucket. After a bucket policy is created, access requests to the bucket are controlled by the bucket policy. The bucket policy controls access requests by allowing or denying the requests.