S3 et Laravel : Problème de lecture
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

S3 et Laravel : Problème de lecture

by
ChristopheR42
Created on 2023-10-24 15:11:34 (edited on 2024-09-04 12:00:25) in Public Cloud OVHcloud

Hello à tous,
Je vous contacte car je ne comprends pas comment je peux faire afficher mes images en provenance de mon S3.
J'utilise Laravel et via l'api je peux bien upload des éléments et des images, afficher le nom des fichiers mais par contre quand je souhaite ouvrir l'image pour l'afficher j'ai un xml avec AccessDenied.
J'ai beau cherché sur le net, je ne trouve que des tutos S3 AWS qui propose directement le bucket en public.

Je ne vois pas trop ou ça bloque car normalement si je peux écrire, je peux forcement lire, non ?

Merci pour votre aide.