File Uploads collection granular access control? #6011
Unanswered
BraianPita
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering how exactly does the access control for uploads in collections work. I understand that you can control access to uploads through the collection access. However, I also know there is field level access control, so I was wondering if its possible to allow access to a collections 'title' and 'description', but not the file itself. I want to make sure that even if you have the url for the upload, you won't be able to retrieve it. I only want users to be able to see all the other fields. The reason for this is because I want to restrict access to the files themselves based on a purchase, and possibly have a modified 'preview' (For example, an audio file that when accessed through a custom endpoint will only return the first 5 seconds for a preview). But I am unsure of how field level access controls work for uploads.
Beta Was this translation helpful? Give feedback.
All reactions