我有一個Amazon S3存儲,我讓公衆這樣網址供公衆亞馬遜S3存儲
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Allow Public Access to All Objects",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket/*"
}
]
}
我斗的策略是現在可見的 http://bucket.s3-website-us-east-1.amazonaws.com/
我看到別人指他們鬥作爲 http://s3-us-east-1.amazonaws.com/bucket/
我寧願第二個網址,但它會給拒絕訪問。
如何更改我的政策以允許第二個網址?