showing search results with download links with presigned urls

0

Use Case: Search the metadata and show the document download link in the search results. Each search result will have a document link to be downloaded.

Question: Should we generate the S3 Presigned URL link for each download link in the search result ? or we generate the presigned URL only for the object User clicks download

Note: We show 100 search results in a page and hence if have to generate 100 S3 presigned urls so that we can show the download link for each search result.

If we don't generate s3 presigned urls for each download link then on click of download link, we have to generate presigned url for that particular document and then redirect to that pre signed download link. Is it possible ?

asked 5 months ago40 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions