Help with Organizing Content for Customer Downloads

0

Hello,

I am helping my client with his Shopify website. We are both brand new to AWS. This is what we are trying to achieve:

Through the Shopify website, customers will purchase access to downloadable files. Once they checkout, they will receive a PDF which will contain a download link to said files. And these are the files that will be stored in AWS. The files really should not be public, and only accessible with people who have the specific link.

This seems like a very simple use case, however, since we are new here, the interface and settings for AWS is a bit overwhelming. Can someone assist with basic setup for this?

I have already went in and tried to create a bucket, a folder, and a file. But not sure it was done correctly, and when I click on the URL of the file, it shows an error page.

Peter
質問済み 5ヶ月前129ビュー
2回答
0

Hello.

I think it's better to use signed URLs for such use cases.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html

By using a signed URL, it is possible to temporarily share a URL for downloading.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-presigned-url.html

profile picture
エキスパート
回答済み 5ヶ月前
profile pictureAWS
エキスパート
レビュー済み 5ヶ月前
0

Thanks for the reply. This is helpful. However, the downside I see is every time there was a purchase, we would have to go into AWS to manually generate the pre-signed URL link and then send it to the customer. Ideally, once the customer checks out, they will receive an automated email confirmation with the link to download.

Is something like that possible?

Peter
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ