Downloading a publicly uploaded file by other users of the app
started a topic
almost 10 years ago
KCSFileStore cannot download the files that are publicly uploaded by other users. I guess this is happening because Collection level permission of File store is not set as "Shared", is this right? I am saying that because when I try so access files uploaded by other users with REST API, the get access denied.
There are two sets of permissions in play here: first, setting the public flag creates an unsigned URL, one which can be freely shared and does not expire. Second, the file entity itself has permissions determining who has access to the file metadata (just like any other entity on Kinvey) and can retrieve the link. This allows you to, for example, get a link to share a file with friends on a social network, but still keep that file hidden from other users of the app.