how can I store userData? it seems that I need a collection which stores userData by user's id but how can I automatically create a document for user? how can I forbid client from modifying user's data? I want be able to modify it only from cloud function
TL;DR
Question: How can I store userData in SvelteKit and prevent the client from modifying it?
Solution: You can create a collection to store userData using the user's id. To automatically create a document for a user, you can use a cloud function triggered upon user creation. To prevent the client from modifying user data, you can implement security rules that only allow modifications from cloud functions.using sveltekit*
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...