English 中文(简体)
网上申请的密码
原标题:Forgotten password in webapp

目前在我网站上的行政管理网页上工作的Im现在到达了Im开始看一看用户如何检索或如果忘记原来的密码。

I ve not had to deal with anything like this before and I m not sure which solution to use as there seems to be a number of ways to deal with this. So I thought I d ask the more seasoned developers. What is the best method to deal with a Password Retrieval

如果是这样,当用户最初登记时,他们必须提供电子邮件地址和密码,然后用盐进行加密。

最佳回答

我倾向于让用户进入电子邮件地址,然后:

a 。 在用户提交申请和储存申请时(应在一定时间之后到期——血腥世界)创建洗衣。

b) 用户与该散射线连接。

c) 他们点击了应该到你网站上安全一页的链接,你核实了这一链接,确保你所节约的散射器与链接中的相匹配,然后请他们重新提出密码。

问题回答

如果你打上密码,就可以检索。 您必须设置一个临时密码,并将其送交用户。 之后,它们与临时密码一致,然后形成新的密码。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签