Parameter to access s3 url only once #6917
Unanswered
HarshMultani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @trivikr ,
I have image files stored in AWS S3 bucket, I want to download those files in my application and so I am generating a presigned url. Using this URL, I will be able to download these images.
I am using the following TypeScript code :-
const url = await getSignedUrl(s3, command, { expiresIn });
Now, what I want is that this url should only be accessed once, and once it's accessed, the next time if anyone tries to hit this url, it should fail. Is there any way of doing this?
Or else, can you give me a way to disable the url?
Beta Was this translation helpful? Give feedback.
All reactions