Can we generate a custom URL to access the s3 bucket object lifetime?

0

Hello guys, can we generate a custom URL or any other way through which we can store the URL in DynamoDB so we can access that object anytime, or if I grant all the permission to specify bucket or grant access? Is there any solution for this

2개 답변
0

Hi, Yes, there is a way to do that by using the Pre-Signed URL.(https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html) you can also verify TTL (time to live) for the same URL. However, I would never suggest following this process for private AWS access. instead of that use a bucket policy for DynomoDB and S3 to access the s3 bucket (A secure way to access it). For public uses always attached TTL for security.

VISI
답변함 2년 전
0

You can do that in several ways and choose a right option based on the consumers of the object, data sensitivity and access controls you would like to have.

Some resources that could help you - https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-https-requests-s3/ https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html https://aws.amazon.com/premiumsupport/knowledge-center/read-access-objects-s3-bucket/ https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html (Short Living URL - Max. 12 hours life time at this moment)

profile pictureAWS
답변함 2년 전

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

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

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

관련 콘텐츠