security - Save user login credential in Android. What is the best way? -
i want in app after user logged in, or signed in, password, , other strings receive server, stored in device. i'm thinking encrypt data whit keys receive keystore. after did that, should save encrypted data?
i have read save password in local device not best pratice. should store directly on server? here article read here
everything goes on server.when login on device ,store users id(hash on server , return hashed id device).store hashed id of user in shared preferences or in local database.and when want retrieve data(for example user data) send hashed id server ,unshash on server make query.
Comments
Post a Comment