简体   繁体   中英

Phonegap_saving user credentials

What would you recommend for using to store user's credentials with phonegap? I would like to avoid any external storage ... And does anybody know more about security of storing it with localStorage? I know it is stored in web browser but is it protected in a context of the app (like in sandbox) or? Thank you!

Don't save the credentials. Let the user write it down every time, or use a cookie with certain expiration date to keep the session, but storing credentials is a bad idea from a security point of view, IMHO.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM