javascript - Password in sessionStorage -
I have a single-page anglejs app, and any web site uses cookies to authenticate my website . This means that a fresh user logs out. How bad is it to save passwords on SessionStorage, so they can refresh during the session? (The username will be in the local storage, and I do not want full login to be in the middle of the session).
Thank you!
Edit:
Do I have more interest in this if there is any real security risk for storing this way? Is it no less secure that Chrome store plain password? Keeps in the text, or how cookies are unencrypted?
Are you trying to avoid local storage or just cookies?
You can store session IDs in the storage of sessions, and can authenticate using that user, in no circumstances do I keep users password clearetax.
Comments
Post a Comment