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년 전419회 조회
1개 답변
0

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

Thanks

Allaris
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠