Allow access to S3 files without exposing AWS URL

Asked

Viewed 555 times

2

I need to generate links to download files that are stored in S3, but my company does not want to expose the AWS URL. Our system is developed in Java and Spring, until then the system recovered the necessary file and sent by Response, but the files are becoming too large for it to remain viable. I’m trying to work with presignedURL, I saw somewhere that it was possible to modify the generated url to a subdomain of ours and use a cname configuration pointing to the URL of our S3 Bucket . S3-sa-East-1.amazonaws.com/... My team and I use this page as a reference: https://docs.aws.amazon.com/pt_br/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingCustomURLs

Anyway, this is not working. When trying to access the modified URL, aws returns a denied access.

Someone would know to help me?

  • Use signed Urls and/or cookies, which are temporary and make this task much easier: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.