GINA & Credential Provider

来源:互联网 发布:java斗地主源码 编辑:程序博客网 时间:2024/06/05 17:27

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


MSDN entry on GINA

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.csdn.net/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

         AutoLogon:http://social.msdn.microsoft.com/Forums/en-US/windowssecurity/thread/de9017dd-7178-4a07-a604-cba9750f419b/

原创粉丝点击