全局键盘挂钩的合法用途是什么? [英] What are the legitimate uses of global keyboard hooks?

查看:90
本文介绍了全局键盘挂钩的合法用途是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了应用启动快捷方式(仅应由操作系统提供)以外,Windows键盘钩等东西的合法用途是什么?在我看来,我们在诸如键记录器之类的问题上仅遇到问题,因为操作系统提供了挂钩,以执行除O/S内核本身以外在任何条件下任何人都不允许做的事情.

好的,因此,鉴于某些可能需要使用它们的合法位置,操作系统是否应该提供高级功能来全局关闭它们,而仅允许逐个程序进行例外处理?

解决方案

不正确,在某些情况下,计算机所有者可能希望停止Ctrl + Alt + Delete ...之类的操作,例如信息亭或.....百思买?

Other than for app launch shortcuts, which should only be provided by the O/S, what are the legitimate uses of things like Windows keyboard hooks? It seems to me that we only have problems with things like key loggers because operating systems provide hooks to do things that should not be permitted by anyone under any condition except the O/S kernel itself.

EDIT: OK, so given some legitimate places where they may be required, should not the O/S provide a high level ability to globally turn them off, and only allow exceptions on a program-by-program basis?

解决方案

Not true, there are environments where the owner of the computer may want to stop things such as Ctrl+Alt+Delete... example, a Kiosk, or... .... Best Buy?

这篇关于全局键盘挂钩的合法用途是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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