Back

[SOLVED]Is Account Preferences secure?

  • 0
  • Flutter
Milukun
31 May, 2023, 03:29

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?

TL;DR
The user is asking if Account Preferences is secure for storing user balances. The solution suggested is to store the balances in a database collection and give users read-only permission to prevent tampering. The user also asks about the safety of using Account Preferences and if it can be tampered with by users. The solution is not provided in the thread.
Pradhumansinh Padhiyar
31 May, 2023, 03:33

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..

Milukun
31 May, 2023, 04:44

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?

Milukun
31 May, 2023, 04:46

[SOLVED]Is Account Preferences secure?

Drake
31 May, 2023, 04:49

You can use an Appwrite Function: https://appwrite.io/docs/functions

Pradhumansinh Padhiyar
31 May, 2023, 05:45

You can use Appwrite Functions or can write own logic. I would suggest try Appwrite Functions if you haven't used it before.

Milukun
31 May, 2023, 09:38

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

Drake
31 May, 2023, 12:26

It would be best to update the events in your appwrite.json

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more