dragonfly411 Posted February 11, 2022 Posted February 11, 2022 Follow-up on the AWS S3 configuration issue I encounteredhttps://invisioncommunity.com/forums/topic/465562-aws-s3-storage-http-400-issue-v4610/ Just a suggestion for feature improvements to save potential bandwidth costs 🙂 S3 Outgoing bandwidth costs money and we host video uploads as well. So I had given public access via a policy and set a Referer condition to limit bandwidth leaching. This works for own uploads but not for forum uploads as IPB explicitly grants public LIST access. Policy on the bucket { "Version": "2012-10-17", "Statement": [ { "Sid": "PublicReadGetObject", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::MyBucketName/*", "Condition": { "StringLike": { "aws:Referer": [ "https://www.domain.com/*", "https://domain.com/*" ] } } } ] } Permissions set by IPB Whiskey Bizness and AutoMinded 1 1
Recommended Posts