S3: possible for a website user to delete content in S3?

0

Customer wants to create a Social Media Platform and would like to know if when a client/user deletes content (e.g. pics, videos) in his profile, the content can be automatically deleted in S3? Is that something the customer can configure?

AWS
posta 6 anni fa213 visualizzazioni
1 Risposta
0
Risposta accettata

This can be achieved using Cognito and the Javascript AWS SDK so that the user can assume a role and delete content on S3 (as long as the Cognito role the user assume permits). It is , however, possible that they will need application logic that would need to reside server-side (e.g. if a user removes content, a set of actions need also to be performed, or perhaps the rights provided to the user needs more logic). In that case, they could put that logic in API Gateway.

AWS
ESPERTO
con risposta 6 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande