I developed a web application that will store data sensitive to the user profile in the db index and local storage. I use web storage as I need to access this data often on my contacts page, chat page and other places. My main problem is that everyone who has loggedin has access to this sensitive data.
So, I was looking for ways to block access to indexDb and local storage, I also check this question: Can local storage ever be considered safe? could not make the right decision about the choice.
Then I was wondering if we can encrypt this data during storage and decryption after extraction, so that no one has direct access to it.
Can anyone suggest an approach and methodology that can easily solve my problem.
Thanks in advance.
source
share