I want to store some user data in the preferences. However, I don't want users to be able to modify it by directly querying the API. Basically, I want user preferences to be editable only by the server, not the client. Is there a way to achieve this, and should I rely on this approach, or would it be better to create a separate database for this purpose?
Every user can edit their own preferences. If you don't to allow that, create a new collection and allow read permission to it. edit it via a server sdk or server sdk + function.
Thanks
Recommended threads
- [CLOSED] 401 Access to this resource is ...
was adding a large number of documents 100k + via the api and creating documents started getting the error above and also can access the db on the cloud dashboa...
- Document Update Error: Invalid document ...
Trying to update the document but getting this error. Using appwrite cloud
- mime type for docx too long?
Hello, I am trying to upload a docx file to storage, but the mime type is too long. I get the following error: ``'Invalid document structure: Attribute "mimeTy...