使用System.Cryptography的用户身份验证. [英] User authentication using System.Cryptography.

查看:95
本文介绍了使用System.Cryptography的用户身份验证.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Richard Thatnks,您的答复.

注意.我的要求是,在我的应用程序中,将有很多用户,他们将具有用户类型和密码.

现在,当用户登录时,我需要从XML文件中检查用户类型,该文件将被加密(使用密码术),然后将显示基于用户类型的菜单.如果可以通过证书生成来完成,那么可以.需要您的帮助.

解决方案

谁能告诉我如何使用密码术对用户进行身份验证.

 

我不确定您的意思.如果您建议对密码使用某种形式的安全性,那么您需要将编码后的密码保留在数据库中,并且当用户登录时对给定密码进行编码并与数据库进行比较.将找到许多说明和示例代码.



Hi Richard thatnks for your reply.

Note. My requirement is In my application there willl be many users and they ll have the Usertype as well as password.

Now when the user logs in I need to check the User type from the XML file which will be encrypted (uisng Cryptography) and then the based on the user type Menus will be displayed. If this can be done by certificate generation then fine. Need ur help.

解决方案

Can anyone tell me how to authenticate the user using Cryptography.

 

I''m not sure what you mean here. If you are suggesting using some form of security on passwords, then you would need to keep the encoded passwords in a database and when a user logs in encode the given password and compare against the database. If you search Google for Cryptography you will find many explanations and sample code.



这篇关于使用System.Cryptography的用户身份验证.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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