Forum Academy Marketplace Showcase Pricing Features

Is it safe to make the "User Balance" in Bubble database?

Hey there!
I am bulding a web app atm where the users need a “User Balance” in coins.
I dont know that much about building websites right now, and im not sure if its “safe” to create
the user balance on Bubble database, or if need to host it somewhere else.

  • The users will be able to buy for example 100 coins for 1$

Does anyone know if i just can keep the “Coins/Balance” in the Bubble database?

  • I really appreciate your help!

Yes, why shouldn’t it be ‘safe’, it is no different to any other piece of data.

The key thing you are going to have to have to think about is transactions, and double spend etc. and making sure the privacy rules are set correctly so no one else has unauthorised access to the data.

Okay perfect, How do you mean “privacy rules are set correctly”

On the Data | Privacy tab, you can define roles, that prevent users from searching/viewing or accessing data for which they are not authorised.

See Privacy and Security in the reference;

Ohh i didnt even see that before now, thank you :slight_smile:

You need to also use that section if you want to enable autobinding on any elements/data.