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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠