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
- Added Custom Domain - API requests with ...
I've added in a custom domain to Appwrite my domain itself is on cloudflare but has Appwrite name servers added and confirmed they work, I added the CAA in clou...
- Table contents missing (attributes+rows)
Here is an image of the cloud and the attributes that should exist Some of the table do have the data but others dont. I am able to access the rows via api c...
- Bug Report: type generation for enum of ...
### π Reproduction steps in the enum element value, instead of English, use another language (Khmer), in my case Khmer text. ``` export enum ProvinceType { ...