Local encryption of data on the Internet or blocking access

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.

+4
source share
1 answer

After exploring a lot, I found YDN-DB ( Unified Data Access Level on IndexedDB, WebDatabase, and WebStorage devices ), but I haven't implemented it yet, can anyone suggest a better solution than YDN-DB or its better that I I can choose now.

https://dev.yathit.com/ydn-db/index.html

.

+1

Source: https://habr.com/ru/post/1649993/


All Articles