Add winlogon login method using C# and YubiKey

。_饼干妹妹 提交于 2019-12-08 02:58:37

问题


As for personal fun and challenge, I wanted to add a way to login on my own personal computers. All are currently using Windows 7.

Normally this would use ICredentialProvider or something like that. Basically the goal here is to have 2 way to login, the normal user/password one and the alternative (mine) with a Yubikey.

Is there any where I could look to find some resources on how to achieve this using C# ?


回答1:


There is an article about implementing a custom Credential Provider here, and there is some samples here. However, I do believe you need to implement a custom Credential Provider in native code, which would typically mean C/C++. The examples are in C.

You should probably do some googling before undertaking the task. Do be aware that GINA is the old Windows login mechanism, and has been removed from Windows since Vista (so you can ignore articles about that).



来源:https://stackoverflow.com/questions/3549605/add-winlogon-login-method-using-c-sharp-and-yubikey

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!