How to insert only one username and password in SQLite database?

前端 未结 5 1064
鱼传尺愫
鱼传尺愫 2020-12-12 03:55

I have an application where I have two textfields and a button. In the first textfield I am entering the username of the user and in the second textfield I am entering the p

5条回答
  •  遥遥无期
    2020-12-12 04:17

    Don't use a sqlite dbs to store user credentials. With reverse engineering it is fairly simple to get to the data. This because you probably have some value in your program you use to encrypt/decrypt the password. For security purposes, please use the keychain. There are several projects on github which makes it very easy to use the keychain. There is no more secure way for saving credentials then the keychain, so please use that to store your credentials!!!

提交回复
热议问题