http://virtuadata.net/how-to-service-your-own-computer/
User data is a crucial component of a great user interface when it comes down to creating applications. User data includes things like settings and the changes that users make on a web-based platform. These details should be stored in a secure way and protected from unauthorised access.
There are many ways to store user data, but in this post, we will focus on three options: Local Storage (local storage), Session Storage (session storage) and App Data. Each of these options has its own pros and cons, however they are all suitable for storing tiny amounts of data inside the browser.
App data can be used to store specific preferences and settings for an app. It is crucial to keep in mind that app data doesn’t persist so all app data is lost when a user closes his browser or if their session expires. App data is not secure as anyone who has a decryption code can view the information. It is therefore advised that app data not be used to store sensitive information such as passwords.
Session storage is similar to app data in that it is also application-specific, but it is a lot more scalable and allows for a much larger amount of data to be stored. Like app data, however, session storage isn’t permanent. If the user clears the browser’s cookies or the session expires, all of the application session data will be deleted.