vb2005中的Windows登录表单 [英] windows login form in vb2005

查看:69
本文介绍了vb2005中的Windows登录表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个用户安全的登录应用程序,以对我的应用程序进行身份验证.我的问题是使用数据库或XML创建它,哪种方法最好?我该怎么办?
感谢

I want to create a user secure login application to authenticate users to my application. My question is creating it using database or in XML, which one is the best method to use? How can i go about this?
Thanks

推荐答案

存储它们的位置远不如存储的重要:如果您对XML满意,则可以使用它.如果您对数据库感到满意,那么(并且不必在每次安装应用程序时都安装SQL Server)可以使用数据库.

更重要的是存储正确的信息-不是密码,而是密码的哈希.在这里看看,它可能会给您一些想法:密码存储:操作方法 [ ^ ]
Where you store them is a lot less important than what you store: If you are comfortable with XML, then use that. If you are happy with a database, (and you won''t have to install SQL Server with each installation of your application) than use a database.

Much more improtant is to store the correct information - not a password, but a hash of the password. Have a look here, it might give you some ideas: Password Storage: How to do it.[^]


这篇关于vb2005中的Windows登录表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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