Closed jogaco closed 7 years ago
My mistake. Any Deny Bucket policy should not be applied to the CanonicalUser:
{
"Sid": "Give not access if referer is no my sites",
"Effect": "Deny",
"NotPrincipal": {"CanonicalUser": "64-digit-alphanumeric-value"},
...
Looks like bucket credentials are not presented when trying to fetch image attributes, like width.
I can however assign a remote image and have it uploaded to S3 without a problem