G
G
Griboks2017-11-16 10:41:15
JavaScript
Griboks, 2017-11-16 10:41:15

HTML5 cache protection (localStorage)?

It is necessary to store conditionally secret data in the application's HTML5 cache. How to protect data from theft? How secure is localStorage? The attacker, like the application, has access to the entire machine, except for DevTools, etc. (There is no server for the usual protection mechanism.)
There is an idea: to encrypt the cache between work sessions. But then it will still be available during the next session.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
RidgeA, 2017-11-16
@Griboks

You can't hide data in the browser. Cookies, localStorage, indexDB - everything can be accessed by the end user. Code - available.
why is there no access to DevTools?

M
Maxim Timofeev, 2017-11-16
@webinar

encryption!!! Just encrypt what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question