# דוגמה עדכנית למדיניות S3 bucket

**URL:** <https://meta.discourse.org/t/s3-bucket-policy-current-example/213446>\
**Category:** Product Support\
**Created:** [30 בדצמבר,‏ 2021,‏ 12:22pm UTC](https://meta.discourse.org/t/s3-bucket-policy-current-example/213446 "2021-12-30T12:22:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)\
**Post date:** [1 בינואר,‏ 2022,‏ 9:56am UTC](https://meta.discourse.org/t/s3-bucket-policy-current-example/213446/3 "2022-01-01T09:56:42Z")

</div>

I spent time learning about the policy concepts. I developed this which works, but it’s all wide open, and so needs considerable refinement. But it does allow you to get on and setup all the rest of the requirements for S3 storage for Discourse. A starting point that currently works, at least.

```plaintext
{
    "Version": "2012-10-17",
    "Id": "Policy1640915383804",
    "Statement": [
        {
            "Sid": "Stmt1640915382266",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::xyzzy-file-uploads",
                "arn:aws:s3:::xyzzy-file-uploads/*"
            ]
        }
    ]
}

```

---

_[View the full topic](https://meta.discourse.org/t/s3-bucket-policy-current-example/213446)._
