How to store the password in an application


#1

I would like to store password in my application but i am not sure about security. Actually I am storing password in local storage but I heard that it is not safe. Is there any safe and good methods to storing password in app ?


#2

a good practice is a backend for your application.


#3

I would suggest storing an encoded version on the device, with a back-end handling the encoding & decoding.
Although, storing any user related information in the application, is not greatly secured…
If you must, a back-end is definitely suggested, using oAuth ideally to connect to the server.