凭据提供程序-如何跳过SAS? [英] Credential Provider - how to skip SAS?

查看:133
本文介绍了凭据提供程序-如何跳过SAS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照Windows SDK示例实现了自己的自定义Windows凭据提供程序,该示例应允许远程应用程序连接到服务器并自动执行登录.

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.

问题是:在用户按下SAS组合键(Ctrl + Alt + Del)之前,不会调用SetUsageScenario事件,因此,在这种情况下,我的凭据提供程序无法自动执行登录.

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.

RDP如何在不按Ctrl + Alt + Del并自动登录的情况下自动登录?如何使用自定义凭据提供程序执行同样的操作?

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?

推荐答案

只有在注册表/策略中手动将其关闭时,才可以为控制台会话跳过SAS.

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

RDP会话始终跳过SAS并指示您输入凭据.

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

此外,现代RDP客户端在建立与远程服务器的连接之前会要求提供凭据.它序列化您的凭据,并将其发送到远程服务器.在服务器上,身份验证是使用此序列化数据完成的.

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.

这篇关于凭据提供程序-如何跳过SAS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆