There's two methods to pursue depending upon which operating system you're looking to run under.
For Windows XP, Windows 2000, and Windows Server 2003 you need to create a GINA.DLL. This is a replacement DLL which must follow specific rules which handles the authentication process. In your case your replacement DLL would be known by the service which was listening for your start signal, and it would make a call into the DLL with the username and password as appropriate.
MSDN Magazine article on customizing GINA.DLL
>Part I:http://msdn.microsoft.com/en-us/magazine/cc163803.aspx
>Part II:http://msdn.microsoft.com/en-us/magazine/cc163786.aspx
For Windows Vista/7 and above you'll need to look into the Credential Provider API.
MSDN Magazine article on Credential Provider API in Vista.
MSDN entry on Credential Provider API
From:
http://stackoverflow.com/questions/4563498/remote-login-a-windows-user-knowing-its-name-and-password
关于调试:
http://blog.youkuaiyun.com/saga1979/article/details/7648466
如果 msvsmon.exe提示不支持当前windows版本,请从尝试msvsmon.exe /noauth /nosecuritywarn
More:NetWork access http://social.msdn.microsoft.com/Forums/hr/vcgeneral/thread/0d924f79-cabd-4161-8bcd-cb498f8cca26

本文介绍了如何在Windows XP、2000、Server 2003上通过创建GINA.DLL来实现自定义身份验证过程,以及在Windows Vista/7及以上系统中使用Credential Provider API进行认证操作。详细步骤包括创建GINA.DLL和理解Credential Provider API的用法。
4165

被折叠的 条评论
为什么被折叠?



