Bucket Policy Examples

This topic contains two examples of the bucket policy with elements that Hedvig currently supports.

Bucket Policy Example 1

The following bucket policy allows all actions to be performed on the bucket and on all objects starting with the prefix obj in the bucket, by any user, but only when access is from the 172.22.67.168 or 172.22.61.79/24 subnet and not from 172.22.61.106.

Bucket Policy Examples

Bucket Policy Example 2

The following bucket policy allows public read access to a bucket. This policy can be used with virtual hosting to support running a static website using the bucket.

Bucket Policy Examples (2)

Loading...