Hello there!
My app uploads files that needs to only be seen by specific users. How can i make sure that no other can see-download them?
Thanks in advance!
Hello there!
My app uploads files that needs to only be seen by specific users. How can i make sure that no other can see-download them?
Thanks in advance!
Iām no expert but I am thinking this could work:
Assign each user a new field in the database. Name it Secret. Put that value to true for your specific users.
Then put a condition on the pictureās group, it will search for User, and a new constraint like: email (or user ID) = Secretās value and condition for that picture to be visible if current userās Secret value is true.
Not sure it will work LIKE that, but thatās a start to see how you can make that work.
How will you define those specific users?
My main concern is that if I can make the files only visible to certain users, because by just āuploading themā I believe Im making them available for every one with the link, am I correct?
correct, have a closer look at the āmake privateā options as well as privacy rules:
Make this file private
By default, uploaded files are visible to anyone who has the link to the file. To provide an additional layer of security to files uploaded through this element, select this option. You will be prompted to select a thing to permanently attach the file to. That item can then be used to restrict access to the file via privacy rules. See Privacy.
Introduction - Bubble Docs
@vincent56 @mvandrei just a question guys, every file uploaded are meant to be kept online forever right? like, no bubbleā code will delete it after a while? Unless I delete it myself, is this correct?
Iām not sure how to access/manipulate those files outside of Bubble thoughā¦
I know I can delete it from bubble.
Just to make sure nothing outside my app will delete them. Because those files are really precious for itās users
I wouldnāt know, but a backup probably wouldnt hurt
hahah yeah, thinking in having everything regularly in dropbox.
How would you backup thu bubble? is there any feature?
I think there will be something for that coming fairly soon⦠donāt know much more though
This topic was automatically closed after 70 days. New replies are no longer allowed.