使用了CloudFront OAI限制对S3的访问后,是否还可以直接访问S3域?

0

【以下的问题经过翻译处理】 我使用oai连接了s3和cloudfront。

但之后,我无法使用原始域访问s3域。

我觉得,使用oai可以访问分发域和原始域,而原始域似乎是访问s3域的rest api。

我想知道我的想法是否正确。

profile picture
EXPERT
asked 6 months ago25 views
1 Answer
0

【以下的回答经过翻译处理】 存储桶策略决定了对于你的存储桶的访问权限。通过设置OAI访问权限,你实际上拒绝了任何其他基于Web的对于存储桶的访问。你可以(如果愿意)添加一个“允许”语句,但这有点违背了使用OAI的目的,即仅将访问权限限制在CloudFront中。

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions