Amazon S3 and Articulate Files
Dec 03, 2012
By
Chris Glass
Has anyone be able to use the S3 service and been able to restrict to a certain IP. I have tried different code and I still am not able to get it right. Any help would be great:
{ "Version": "2008-10-17", "Id": "S3PolicyId1", "Statement": [ { "Sid": "IPAllow", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:*", "Resource": "arn:aws:s3:::my-brand-new-bucket/*", "Condition": { "IpAddress": { "aws:SourceIp": "192.168.143.0/24" }, "NotIpAddress": { "aws:SourceIp": "192.168.143.188/32" } } }, { "Sid": "IPDeny", "Effect": "Deny", "Principal": { "AWS": "*" }, "Action": "s3:*", "Resource": "arn:aws:s3:::my-brand-new-bucket/*", "Condition": { "IpAddress": { "aws:SourceIp": "10.1.2.0/24" } } } ] }
Be the first to reply
This discussion is closed. You can start a new discussion or contact Articulate Support.