Is it safe to share Signed Url of s3 content specifically for images which has AWSAccessKeyId and signature on it ?

0

I need to share images in email for which I am using Signed Url of s3 and I wanted to know is it safe to do that or It will compromise my account's security since my AWSAccessKeyId is appended to link. If so can you suggest some alternative solution for creating such url in nodejs. Thank you for your time.

posta 2 anni fa403 visualizzazioni
1 Risposta
0

Why not host a static website on S3 with images you want to share?
More of that here:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/HostingWebsiteOnS3Setup.html
Checkout the following links to know more about presigned urls, how to protect them and examples to generate them using AWS SDK https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html Here is a link for Javascript https://aws.amazon.com/blogs/developer/generate-presigned-url-modular-aws-sdk-javascript/

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande