如何在MVC 4中更改密码

问题描述:

如何在MVC中实现更改密码模块?

How to implement change password module in MVC?

如果您不使用任何外部身份验证,则可以轻松插入更改密码模块。

只要在数据库中找到用户详细信息表,一旦用户使用实体或linqTosql或使用您感兴趣的技术为该特定用户提供其用户名和新密码更新密码列
If your not using any external authentication it will be easy to insert change password module.
Just find user details table in your database,once user gives his username and new password update password column for that specific user using entity or linqTosql or using your interested technology


请参阅以下链接:

http://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-web-app-with-email-confirmation-and-password-reset [ ^ ]



http://blogs.msdn.com/b/webdev/archive/2014/01/06/implementing-custom-password-policy-using-asp-net-identity .aspx [ ^ ]



没有硬性规则需要使用Identity Framework 。

您可以构建自己的自定义密码重置方案。



参考:

如何更改Mvc 5中的密码 [ ^ ]



我希望这能帮到你。
See the following link:
http://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-web-app-with-email-confirmation-and-password-reset[^]

http://blogs.msdn.com/b/webdev/archive/2014/01/06/implementing-custom-password-policy-using-asp-net-identity.aspx[^]

There is no hard and fast rule that you need to use Identity Framework.
You can build your own custom password reset scenarios.

reference:
How to change password in Mvc 5[^]

I hope this help you.