Limit data storage for users

After few weeks trying and wondering how to make it, i need to ask.
I would like to know if there is possible to set an amount of MBs or GBs limit to an user on my app. Thats in order to offer data limit plans.

What i have actually in mind is to stop on a certain amount of images>count and thats an easy way to limitate, but i have no info, and info is what i want to have and bring to customers.

Any suggestion?
Thanks in advance.

Hi @JareRamirez,

There is no easy built-in way to implement such functionality in Adalo.

What I can think of - you can use Adalo Collections API to list records in the collection where you store images. Each image property will have a JSON section with size key. Then you can calculate the sum of sizes for each user, store them in some other User’s property and implement your other app logic based on this number.
You can create such scenario in some 3rd party platform (Make, n8n, …) and run it periodically.

However, this requires Collections API.

I’m also quite sure that this could be done with some custom-developed component.

Best regards, Victor.

1 Like