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 ?

已提問 2 年前檢視次數 119 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南