Login example (Storage: TinyDB)

database
design

#1

Hello thunkers,
i created this example to show you how you can make a login screen for your app and store some userdata to “TinyDB” the storage of your device.

Its only a demonstration how it works.
You can modify the example how you want it.


Screenshots:

Download aia file
Download apk file

Full blog entry: here


best regards, Mika

Tutorials, Snippets, Examples with source files (aia and apk) and much more available on my blog


Login Screen and Blocks with Spreadsheets
Is it possible in Thunkable?
#2

Just an apointment: TinyDB has a problem: any user can see what does any TinyDB stores if they have root access to the mobilephone. I’ve made some tests and finally I reached an XML file where TinyDB stores the data, and any user will be able to use it as they want. (I’m not going to share the path to the file for obvious reasons)

So, I recommend to store values in TinyDB with an encrypt method, like AES-128 that uses any key that you want, like 123456 or abcdef or something like that, or use any other encryption method that could be decrypted with a key, not like MD5 or BASE64


Login and Password - data base
#3

Great Example and Info about TinyDB


#4

Thanks for the hint. :slight_smile:
I’ve used “TinyDB” just as an example.
The best method is a database in Firebase or Mysql or similar where strangers have no access.


#5

Thank you for the example, @Mika. My next app will access a local database and I’m considering sqlite todo this, but TinyDB is another choice too!!!


#6

I use the webDB and fusion tables. I haven’t really figured out Firebase that much more and havnt explored Mysql.


#7

Hi There,

How can we encrypt the data in tiny DB?

Please share steps