且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在iPhone应用程序中实现密码恢复?

更新时间:2022-12-21 18:00:28

您可以使用最初创建帐户时设置的条件(例如,母亲的姓氏, last-4等.通过这种方式,您无需担心解密密码或将密码发送给用户的麻烦.一旦他们正确回答了足够的安全性问题,就会提示他们重设密码.您可以将这些数据存储在本地加密.您将无需向用户发送密码.

Instead of recovering a password, you can prompt to reset a password using criteria that is set up when they initially create their account -- such as mothers maiden name, last-4, etc. This way, you don't need to worry about decrypting a password or sending it to the user. Once they answer enough security questions correctly, they are prompted to reset their password. You can store this data encrypted locally. You'll never need to send a password to the user.