• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SImple Stand-Alone Applicatiopn with a Local Only DataBase
#5
Hi stamatis,

Internet access is only required if there is no local data.

A user's email and password are used to encrypt their local data. Local data is separated by user emails. Calling cdb_auth will attempt to use the given credentials to decrypt a local file in the user's space. Being able to decrypt the files means the user has been authenticated.

If there is no internet and there is no local data then a user cannot be authenticated.

If there is internet but no local data, passing cloud authentication also grants local authentication. A user will have to create local data in this state before they can authenticate subsequent times without internet.
  Reply


Messages In This Thread
RE: SImple Stand-Alone Applicatiopn with a Local Only DataBase - by efrain.c - 09-08-2020, 06:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)