Is it possible to protect my JPasswordField against keyloggers

323 views Asked by At

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.

1

There are 1 answers

2
Hovercraft Full Of Eels On BEST ANSWER

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.