在 Windows 中拦截更改密码 - 显示我们的自定义界面
我一直在尝试将第三方系统的配置文件密码与AD同步。第三方系统将其用户配置文件存储在数据库中。
我最初尝试编写一个密码过滤器来获取明文密码并在数据库中更新它。后来我才知道,乱动内部是极其危险的。
现在我正在考虑拦截一些事件,例如“开始更改密码”,并显示我的自定义界面来更改密码而不是默认密码。我知道我无法拦截 Ctrl + Alt + Del。但是我可以拦截此更改密码事件并抑制默认行为吗?
我正在寻找适用于 Windows XP、Windows Vista 和 Windows 7 所有版本的通用解决方案
。谢谢。
I've been trying to synchronize the profile passwords of a third party system with AD. The third party system has its user profiles stored in a database.
I initially tried of writing a password filter to get the password in clear text and updating it in the database. Later i learnt that it is extremely risky to mess with the internals.
Now i'm thinking to intercept some event like 'begin change password' and show my custom interface to change the password instead of the default one. I know i cant intercept Ctrl + Alt + Del. But can i intercept this change password event and suppress the default behavior?
I'm looking for a generic solution that works in all the editions of Windows XP, Windows Vista and Windows 7.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 XP/Server2003 上,您可能通过编写一些 GINA 扩展/替换来完成此操作winlogon 系统。 (文档)。
从 Vista 开始,这些机制被替换为ICredentialProvider。
(所以我怀疑你没有通用解决方案)。
On XP/Server2003, you'd probably have done this by writing some GINA extension/replacement for the winlogon system. (Docs).
From Vista, these mechanisms were replaced by something called ICredentialProvider.
(So I suspect you're out of luck for a generic solution).