Forum Post: RE: Are local storage variables secure?

  • Thread starter Thread starter john.goodland
  • Start date Start date
Status
Not open for further replies.
J

john.goodland

Guest
localstorage is just as vulnerable to being read by JavaScript as cookies are. Plain-text login (such as username/password) information shouldn't be stored in localstorage, as if someone does get hold of them, they can continuously make a new session for themselves. If you must store the password (which I would recommend not to) then you should encrypt this.

Continue reading...
 
Status
Not open for further replies.
Back
Top