How to ensure only the uploading user can download their own files

Hello,

I am planning on using Uppy + self-hosted Companion for handling file attachments for my app. I need to make sure that only the user who uploaded a file is allowed to download that file. Can Uppy/Companion handle that? If so, how?

Thanks,

Pascal