Allopopo
Allopopo

Reputation: 171

Is it possible to protect my JPasswordField against keyloggers

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.

Upvotes: 2

Views: 326

Answers (1)

Hovercraft Full Of Eels
Hovercraft Full Of Eels

Reputation: 285405

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.

Upvotes: 5

Related Questions