GINA & Credential Provider

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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值