When we create a preSigned url using the java sdk , The url contains the bucket name "https://bucketName.s3.region.amazonaws.com/objectkey?X-Amz-Security-Token=********"
How ever we would like it be our domain name instead of exposing the buckname and on amazonaws.com like : "https://mydomain.com/objectkey?X-Amz-Security-Token=********"
What is the best way to achieve this ?
Maybe AWS S3 + CloudFront + Custom Domain/SSL + Signed URL instead?
Thanks for reply RoB. When we use cloud front distribution we are supposed to use signed Url / Signed Cookie from cloud front instead of preSigned url from S3. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html Which can be used when we just get objects but not upload objects.
로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.
좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.
Thanks for reply RoB. When we use cloud front distribution we are supposed to use signed Url / Signed Cookie from cloud front instead of preSigned url from S3. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html Which can be used when we just get objects but not upload objects.