#Display a Private File From S3

10 messages · Page 1 of 1 (latest)

median delta
#

Hello - is it possible to upload a document to S3 using visibility('private') and then have the file displayed on the View and Edit resource pages using the standard FileUpload? Or do I need to use a custom view to accomplish this?

sour dockBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

shrewd prism
#

As long as your bucket permissions are set up correctly it should display them fine.

#

You pretty much have to use visibility private with s3.

median delta
#

@shrewd prism can you please elaborate on this? how should it be configured?

shrewd prism
#

Look up ACL in Aws. I don’t work with them much personally so someone else will have to help.

#

It’s not a filament thing though.

sonic sierra
#

Dear @shrewd prism
What if I have a dynamic S3 config ? each tenant has its own S3 config to upload & display files.
Thanks

proper cobalt
#

That should be fine, you need to generally use the temporary file method which gives access to private files

#

Likely issue is CORS though if the file isn't showing if memory serves