Skip to content

Commit

Permalink
Update security.md
Browse files Browse the repository at this point in the history
  • Loading branch information
farioas authored Dec 2, 2024
1 parent b7ae185 commit 2abd6ca
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/source/guide/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ To ensure maximum security and isolation of your data behind a VPC, only allow a
<details>
<summary>Bucket Policy Example for S3 storage</summary>

!!! warning
These example bucket policies explicitly deny access to any requests outside the allowed IP addresses. Even the user that entered the bucket policy can be denied access to the bucket if the user doesn't meet the conditions. Therefore, make sure to review the bucket policy carefully before saving it. If you get accidentally locked out, see [How to regain access to an Amazon S3 bucket](https://repost.aws/knowledge-center/s3-accidentally-denied-access)

Go to your S3 bucket and then **Permissions > Bucket Policy** in the AWS management console. Add the following policy:

```json
Expand All @@ -162,9 +165,9 @@ Go to your S3 bucket and then **Permissions > Bucket Policy** in the AWS managem
"NotIpAddress": {
"aws:SourceIp": [
//// IP ranges for app.humansignal.com from the documentation
"3.219.3.197/32",
"34.237.73.3/32",
"44.216.17.242/32"
"x.x.x.x/32",
"x.x.x.x/32",
"x.x.x.x/32"
]
}
}
Expand Down

0 comments on commit 2abd6ca

Please sign in to comment.