Restrict listing 5 out of 10 folders for given prefix through IAM policy

0

Dear Team,

I have a bucket named my-bucket and it has a users folder. There are 5 individual user-name folder inside users folder. I want to make sure each user gets to see his/her own folder but can not see other user folders(I can restrict access to the content of the folder but want that one user should not see other users folder as well). Is it possible ?

Ex. Below is the folder structure i have : my-bucket users UserA UserB UserC UserD UserE

when UserE logs in, he/she should not see UserD folder in S3. I am able to restrict the content view of UserD folder but UserE still sees userD folder and then on click of UserD folder, he gets access denied error.

Please let me know if i can restrict UserE from seeing any other users folders if he clicks on users folder

Thanks, Dhaval Mehta

1개 답변
0
  • This just help to restrict the content in other users folder but does not help to viewing of other users folder names. I want UserE not to see UserD folder itself since he/she does not have access to content of that folder

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

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

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

관련 콘텐츠