N
N
Nikolai Gerasimov2015-08-27 12:54:49
Android
Nikolai Gerasimov, 2015-08-27 12:54:49

Storing credentials in an android app?

How to properly store credentials (login/password) in the application so that they cannot be recognized by unauthorized persons?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
look2009, 2015-08-27
@GerNik

Логин пароль должны храниться только на Вашем сервере, иначе черевато последствиями, храните hash сессии и при авторизации записывайте на сервере для хранения, далее сравнивайте hash при долгом отсутствии пользователя подтирайте hash. Безопаснее и правильнее.

Олег Гамега, 2015-08-27
@gadfi

it is correct not to store the login password, store the token
as convenient and store it, for example, I store it in sharedpreferences, whether to encrypt or not, depends on the application

K
Konstantin Berkov, 2015-08-27
@konstantin_berkow

AccountManager

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question