Skip to content

Instantly share code, notes, and snippets.

View toman's full-sized avatar

Joseph Toman toman

  • Lillibolero Inc
  • Cottage Grove OR
View GitHub Profile
@toman
toman / policy.json
Created January 24, 2019 06:58 — forked from davidmerrick/policy.json
S3 Bucket policy to restrict access only to CloudFlare IPs
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket-name/*",
"Condition": {