I have developed web application that will store user's profile sensitive data in index db and local storage.I am using web storage as i need to access this data frequently in contacts page,chat page and other places as well. My main concern is that everyone who is loggedin has access to this sensitive data.
So i was searching around ways to either block access of indexDb and Local Storage,I also check this Stack Overflow Question: Can local storage ever be considered secure? but could not make out proper decision to opt for.
Then i was wondering if we can encrypt this data while saving and decrypt after fetching so that no one has direct access to it.
Can any one suggest any approach and methodology which can easily solve my problem.
Thanks in advance.