Which is the most secure way to secure store a secret on a Tizen Web App?
As far as I know, the only supported API to store something is LocalStorage
.
// to store a value
window.localStorage.setItem( 'secret', item_value);
// to retrieve a value
item_value = window.localStorage.getItem( 'secret' );
We already know that in the upcoming SDK wearable 3.0.0 there will be a keychain mechanism already available in mobile SDK.
Waiting for the 3.0.0, is the LocalStorage a "safe" place to store a secret?
Is the LocalStorage inspectable via console or file system (Even without enabling the Debug mode)?