Accepting a Password Safely
Sunday June 29, 2008
Accepting a password in a non-secured environment can seem pretty risky. Fortunately, there is a Python module for that as well. As discussed in a recent article, one can use
getpass to accept a user password without echoing it to the screen. For an example of how to do that, see the fourth part of the ongoing series "Retrieving POP3 Email with poplib", "Safely Getting the Password".