S3 Bucket Public Access Settings

0

Hello - we have 15 S3 Buckets setup and we use the AWS PHP library to send and receive files to and from these buckets. When we originally created the buckets we inadvertently left them open to the public. Once we realized our mistake we edited the public access settings and made the buckets and objects not public. Unfortunately when we did this our application could no longer read the files that were already there. We could send and receive new files but the old ones were unavailable. We solved this problem by running a command line script that changed the object ownership to the bucket owner. This seems to have solved our problem with one exception.

Two of our 15 buckets now say Access Denied when we try to view their contents. We performed the exact same actions on all 15 buckets and they are all marked Private. We cannot figure out why 2 of the buckets are not working and why we cannot view their contents through the S3 portal. At the moment the only way we can get these buckets to work is to make them Public but this is not an acceptable option.

Does anyone know how or why the bucket owner would not be able to access the bucket?

Thank You,

Allaris
質問済み 5年前418ビュー
1回答
0

We figured out that it was a problem on the permissions page. The issue is now resolved.

Thanks

Allaris
回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ