
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
- How to reduce DB Reads?
I just noticed that I hit the 500k db reads limit on my very small next js app with the most data being present in one collection having around 50 documents. ...
- Getting issue while migrating from Self ...
i try to migrating my project but when do this error come and dont allow to crate that migration
- Pending upload some file, but not for ot...
When upload this file, always got pending. But when I upload another file, it works. Why?
