You're writing a Program that connects to a server, and want to Store the user's Login Details for their convenience. How do you do so securely?
Short answer: you won't like any of the suggestions.
Long answer:
A surprising number of programs store the login details in plain text, and rely on the...