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
gefragt vor 5 Monaten129 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 5 Monaten
profile pictureAWS
EXPERTE
überprüft vor 5 Monaten
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
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen