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
preguntada hace 5 meses129 visualizaciones
2 Respuestas
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
EXPERTO
respondido hace 5 meses
profile pictureAWS
EXPERTO
revisado hace 5 meses
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
respondido hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas