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
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...