Custom Windows Authentication Package

后端 未结 3 1920
温柔的废话
温柔的废话 2021-02-08 14:55

So, here is the scenario. I am developing a logon system in windows 7. I have created a Credential Provider, containing one Credential. The Credential has three input fields, us

相关标签:
3条回答
  • 2021-02-08 15:01

    I do haven't done any work with the Windows Logon since GINA where left in the past, as PKI became the de-facto standard for credential storage. But...

    Your question asked for some sample code, here is a full description

    http://msdn.microsoft.com/en-gb/magazine/cc163489.aspx#S4

    This is a little old, so it refers to smart cards, perhaps when you say token you are still talking about a smart card, but I suspect you mean a USB drive. However, if you attempting this level of development it should be fairly simple to swap code for Smart Card Read/Write and USB Read/Write.

    0 讨论(0)
  • 2021-02-08 15:09

    You could try samples from windows sdk. There are sub authentication packages which are simpler to implement than full AP.

    0 讨论(0)
  • 2021-02-08 15:12

    You can always write your own code that checks input with your data in database, there is many ways to do that. This is a video about smart and dull ways to do that.

    and this is page about Custom Windows Authentication Package but I haven't really check that

    0 讨论(0)
提交回复
热议问题