Cryptography的用户身份验证

Cryptography的用户身份验证

本文介绍了使用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.

解决方案

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的用户身份验证.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 06:27