S3 access private file

0

Hi, may i know how to access the private file inside the S3 bucket, which initially setup as private for bucket and also object. Another question is can i just give a access of the object(private) in the private bucket and for some group (organization) which does not have aws account? may guys help me for this? thanks

已提问 2 年前164 查看次数
2 回答
0

A private bucket means that you need to explicitly give access to the bucket and objects for the users or roles. After giving the access, users or roles can use the S3 APIs, like the GetObject to access them, with their own credentials, even cross-account. Note that you can leverage Amazon Cognito to give access to external users as they will have a role attached after login. These accesses can be for the whole bucket or for specific objects. See bucket policies and user policies.

If you end user doesn't have an AWS Credential, you can create a pre-signed url to give temporary access to the object.

profile pictureAWS
Eduardo
已回答 2 年前
0

Amazon Cognito identity pools provide temporary AWS credentials for users who are guests (unauthenticated) and for users who have been authenticated and received a token. You can implement this for accessing specific objects with in s3 and based on attributes . https://docs.aws.amazon.com/cognito/latest/developerguide/identity-pools.html

profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则