I'm trying to allow a specific domain to access my Amazon S3 bucket but after that all the domains has been dropped from Amazon S3. The url I wish to access is httpss3.ap-southeast-2.amazonaws.com/{bucketUri}/1.jpg but returns 403 forbidden on my allowed referer. I can see the Referer on the page is correct. Here's my settings: Block public access all off. Bucket policy:
{ "Version": "2008-10-17", "Id": "Restrict based on HTTP referrer policy", "Statement": [ { "Sid": "1", "Effect": "Deny", "Principal": { "AWS":}, "Action":"Resource": "arn:aws:s3bucketUri "Condition": { "StringNotLike": { "aws:Referer": "httpreference.domain.put.here" ] }