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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容