The above is an example of an S3 presigned url. Is there anyway to hide the bucket part of the presigned url or change it to a domain name in the presigned url.

to be

I tried changing the presigned url to a custom domain, but it doesn’t work.
I used S3 GetPreSignedUrlRequest Method to generate the presigned url by setting key, bucketname and expires

What I would like to know

  1. Is there a way to change the presigned url behaviur to not show the bucketname and region
    2 Are there any security risks in allowing users to view the bucketname and region in the presigned url?

Any suggestions would be much appreciated. Thanks

New contributor

jc18 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.