Credential Provider - how to skip SAS?

你离开我真会死。 提交于 2019-12-14 02:55:21

问题


I implemented my own custom Windows credential provider following the Windows SDK example which should let a remote application connect to a server and perform logon automatically.

The problem is: the SetUsageScenario event is not called until a user presses the SAS combination (Ctrl+Alt+Del), therefore my credential provider isn't able to automatically perform the login until that happens.

How does RDP do the login automatically without me pressing Ctrl+Alt+Del and logging in automatically? How do I do the same with my custom credential provider?


回答1:


SAS can be skipped for Console session only if You turn it off manually in the registry/policies.

RDP session always skip SAS and direct You to enter credentials.

Moreover modern RDP client asks for credentials prior to establishing connection to remote server. It serialize your credentials and send them to remote server. On server authentication is done using this serialized data.



来源:https://stackoverflow.com/questions/51747455/credential-provider-how-to-skip-sas

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