Recommended file uploader library with ACL for API usage

Hello, I am looking for a flexible file uploading library for an Phoenix project. I have a Phoenix API backend with Vue.js on front.

I am looking for a solution:

a. with local file storage.
b. with Ecto integration.
c. with access control, files can be downloaded only via signed URL’s (for authenticated users).
d. will mainly handle PDF files.
e. file names may contain UTF-8 characters.
f. multiple files for same entity (user, records etc.)

Thank you!

Probably Waffle and Waffle_ecto. Up to e is ok. For f, You might need to create a struct for the upload, and use it with has_many…

1 Like