通过电子邮件获取密码

问题描述:

我已经在asp.net中使用网站管理工具来创建用户.我的问题是,如果用户忘记密码并想通过电子邮件找回密码,我该如何使用gmail来实现.

I have used web site administration tool in asp.net to make user.My question is if a user forget the password and want to get back through email, how can i implement this using gmail.

通常,以纯文本或双向加密格式存储密码被认为是错误的形式.如果用户忘记了密码,则应该向他发送一个链接以重置其密码.他的密码不应以可以提取的方式存储,在任何情况下都不应通过纯文本电子邮件发送.
In general it''s considered bad form to store the password in plaintext or in 2-way encrypted format. If a user forgets his password he should be sent a link to reset his password. His password should not be stored in a manner where it can be extracted nor should it under any circumstances be sent via plain text email.