문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top