如何为我的网站创建临时密码 [英] How to create a temporary password for my web site

查看:76
本文介绍了如何为我的网站创建临时密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个网站,我想添加几个页面,只有我的客户才能看到。

每当我需要向我的客户端显示一个特定的网页时,我应该能够生成一个临时密码并将其提供给我的客户端,以便他可以访问该页面,一旦他登录到该页面,该密码应该到期。

我应该为每个客户生成不同的密码,这应该是一次性使用。



我该怎么做?



提前谢谢。

解决方案

框架轻轻地提供了一种方法,请参阅:Membership.GeneratePassword Method [ ^ ]。

Hi,

I have a website in weebly, in that I want to add few pages which should be seen only by my clients.
whenever I need to show a particular web page to my client, I should be able to generate a temporary password and give it to my client, so that he can visit that page, once he logs into that page, that password should expire.
I should generate different password for each of clients and that should be of one time use.

How can I do that?

Thanks in advance.

解决方案

The Framework gently provides a method for that, see: "Membership.GeneratePassword Method"[^].


这篇关于如何为我的网站创建临时密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆