I would like to use Account Preferences to store the number of gold coins that a user has earned after watching an ad within the app. Is it safe to use Account Preferences to store this value? Will it be tampered by users?
When I use charles to try to capture the packet, it returns CERTIFICATE_VERIFY_FAILED Can the user be free to falsify and update this value if he captures the relevant information?
Or is there any more recommended way to store user balances?
I would suggest store in Database Collection then you can use it, and you can give user Read only permission to Databse collection. This way they cannot temper with the data. As they dont have Write, Update, Delete permission..
Thanks for the reply, so I still need a front-end service (e.g. python flask) to write my own logic to handle the increase and decrease of coins, right?
[SOLVED]Is Account Preferences secure?
You can use an Appwrite Function: https://appwrite.io/docs/functions
You can use Appwrite Functions or can write own logic. I would suggest try Appwrite Functions if you haven't used it before.
hi, After I set the Events of Function in console, when I modify the code and execute appwrite deploy function on the server, it causes the previously set Events to be lost. I would like to add a button to the console to export the configuration so that I can replace the console changes with the CLI configuration file on the server
It would be best to update the events in your appwrite.json
Recommended threads
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...