Three Types of User Data Storage
User data is an essential element of a successful user interface when it comes down to creating applications. It can be comprised of things like settings and customizations that users can make to a web platform. These data must be stored in a secure manner and protected from unauthorised access.
There are a myriad of ways to store user data, but in this article we will focus on three options including Local Storage (local storage) and Session storage (session storage) and App Data. These options each have their own pros and cons, however all are suitable for storing small quantities of data within the browser.
App data can be used to save app-specific preferences and settings. It is essential to remember that app data doesn’t persist, which means that any app data that is deleted when the user closes his browser or if their browser session ends. App data isn’t read here secure because anyone with a decryption code could access the information. It is therefore recommended that app data is not 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. Similar to app data however, session data isn’t permanent. If the user deletes the browser’s cookies, or the session is over, all of the session data will be deleted.


