İnternet'te gezindikten sonra google + 'nun bu kullanıcı aracısını "Google (+ https://developers.google.com/+/web/snippet/)" kullanmasına karşın bu kullanıcı aracısını S3 bucket politikamda beyaz listeye eklediğimde, bir şekilde bilmiyordum. Çalış. Bu, kullanıcı için S3 politikasıdır. Herhangi bir yardım takdir edilecektir.Aws S3 kova ilkesi
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "Allow in my domains",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::awesomebucket/*",
"Condition": {
"StringEquals": {
"aws:UserAgent": [
"Twitterbot/",
"Google (+https://developers.google.com/+/web/snippet/)",
"facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
]
}
}
},
{
"Sid": "Deny access if referer is not my sites",
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::awesomebucket/*",
"Condition": {
"StringNotEquals": {
"aws:UserAgent": [
"Twitterbot/",
"Google (+https://developers.google.com/+/web/snippet/)",
"facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
]
}
}
}
]}