How NOT to hide passwords when entered #programming
When a user enters a password, it is preferable that the password is not displayed, so a person peeking over the shoulder of the person at the keyboard can't see the password.
Sun has a mind boggling way to solve this in Java: SPAWN A THREAD THAT QUICKLY SPITS OUT BACKSPACE CHARACTERS!
I really should not shout that much, but... really? That is their solution, really??
Yes, it actually is:Password Masking in the Java Programming Language.
The. Mind. It. Boggles.
Add comment
To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.
I have chosen to use a more old school method of spam prevention.
To post a comment here, you need to:
- Configure a newsreader¹ to connect to the server
- Open the newsgroup called
¹ Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).koldfront.dk
on port1119
using nntps (nntp over TLS).lantern.koldfront
and post a follow up to the article.Or, you can fill in this form: