authentication - Keep Cordova app 'unlocked' even while offline, once authenticated -


i'm creating app cordova/phonegap, displays variety of information offline. i'm aiming keep distribution private, know possible others it.

what i'm trying achieve:
want user able perform kind of login/authentication, unlock of information within app, otherwise blocked. need once on given device, , on info visible, when device offline.

question: once authentication has occurred (i'll work out separately), sort of mechanism use app record unlocked (e.g. storing locally), without requirement online check anything.

extra info: - assume simple flag html localstorage (to unlocked=yes) spoofed (though need), , instead needs store more complicated code links email address maybe, couldn't guessed? - right in saying quite easy read actual information within app anyway, it's not secure in first place? if case, how can make text information within html pages less easy casually read once app has been built. - don't know how these things, imagine it's simple. - looking 'casual' restriction of information really, make inconvenient view rather needing maximum security. we're not talking state secrets, individual's phone numbers.

thanks advice


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -