安全移动应用 [英] Security in mobile application
问题描述
在情况下,用户登录到App,然后切换到其它应用,而无需注销,我们如何管理记得凭证所以一旦用户返回到previous应用程序,他不需要再次输入凭证的详细信息(用户/密码) - (请提供理论也回答)
In case the user login to app and then switch to other app without logout, how we manage the remember of the credential so once the user back to the previous application he don't need to type credential details again (user/pass)- (Please provide answer with theory also)
推荐答案
您可以使用应用程序preference
用于存储用户名和密码。谷歌它,你可以很容易地得到code吧。但出于安全原因,总是尽量保存加密形式这样的信息。虽然从检索应用程序prefernces信息,你必须对其进行解密。这里是链接 http://www.androidsnippets.com/encryptdecrypt-strings
You can use applicationPreference
for storing the username and password. Google for it, you can easily get the code for it. But for security reason, always try to save such information in encrypted form. And while retrieving info from applicationPrefernces, you have to decrypt it. here is link http://www.androidsnippets.com/encryptdecrypt-strings
这篇关于安全移动应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!