论文部分内容阅读
大家对密码框应该都不会陌生吧,它就是一个使用星号隐藏用户输入的文本框。在Windows系统中,为应用程序提供了一个标准的Edit控件,当将其Password属性设为True时,该Edit控件就成为了一个密码框。密码框虽然可以有效的防止用户输入密码时被偷看,但是它对一些密码偷盗软件却无能为力。记得前不久网上盛行的QQ盗窃器木马软件,就是利用了标准Edit控件未设置安全保护而获取QQ帐号和密码的。为了防止这类盗窃程序偷盗合法用户的密码,在QQ2003版本中,对“QQ用户登录”和“QQ用户注册”对话框中的密码框进行安全保护处理,有效地防止了木马软件盗窃QQ密码。本文将重点介绍QQ2003密码框保护的实现原理,并根据此原理创建一个防盗密码框的实例。
Everyone should not be unfamiliar with the password box, it is a text box that uses an asterisk to hide user input. On Windows systems, a standard Edit control is provided for the application, which becomes a password box when its Password property is set to True. Although the password box can effectively prevent users from entering the password when peeking, but it does not work for some password theft software. I remember not long ago online popular QQ steal Trojan software, is to use the standard Edit controls did not set security and access to QQ account and password. In order to prevent such theft from stealing legitimate users’ passwords, the QQ2003 version protects the password boxes in the “QQ User Login” and “QQ User Registration” dialog boxes, effectively preventing Trojan software from stealing QQ passwords. This article will focus on the realization of QQ2003 password box protection principle, and in accordance with this principle to create an anti-theft password box instance.