Skip to content

Instantly share code, notes, and snippets.

@mtheoryx
Created October 14, 2026 16:10
Show Gist options
  • Select an option

  • Save mtheoryx/534bf51133d487d33aba9f5f61c19c4c to your computer and use it in GitHub Desktop.

Select an option

Save mtheoryx/534bf51133d487d33aba9f5f61c19c4c to your computer and use it in GitHub Desktop.
Block bucket - 2
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "MakeItPublic",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::fs.ncaa.org/*"
},
{
"Sid": "RestrictSSECObjectUploads",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::fs.ncaa.org/*",
"Condition": { "Null": { "s3:x-amz-server-side-encryption-customer-algorithm": "false" } }
},
{
"Sid": "NcaaSensitiveObjectReadQuarantine20261014",
"Effect": "Deny",
"Principal": "*",
"Action": [ "s3:GetObject", "s3:GetObjectVersion" ],
"Resource": [
"arn:aws:s3:::fs.ncaa.org/Docs/AMA/DIISampleForms/FinAidForm1.pdf"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment