是否可以保护我的 JPasswordField 免受键盘记录器的侵害
我正在编写一个带有 JPasswordField 的小小程序,我想知道是否可以保护我的 JPasswordField 的内容,以防用户的 PC 被键盘记录器黑客攻击......
我知道 Java 不能做内核级操作,因此无法加密用户的按键。请问最终还有其他替代解决方案吗?
多谢。
I'm writing a small applet with a JPasswordField, and I'd like to know if it's possible to protect the content of my JPasswordField, in case where the user's PC is hacked by a keylogger ...
I know that Java cannot do kernel level operations, so impossible to encrypt user's keystrocks. Is there eventually other alternative solutions please ?
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不相信,因为键盘记录器通过操作系统挂钩工作,您的小程序将无法接近。即使是桌面 Java 应用程序也很难完成这样的事情,并且如果可能的话也需要本机代码。
I don't believe so as key loggers work via OS hooks, something your applet won't be able to get near to. Shoot, even a desktop Java application would have a tough time doing something like this and would require native code if it were possible at all.