Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Storing passwords to external services (e.g. corporate email servers) on smart phones is very insecure, since phones are more easily stolen. Has any vendor implemented a feature to only cache a password in memory for a limited amount of time? After the time period has elapsed, the app would ask for the password again.

To clarify - I'm aware that many (most?) users are lazy and want to just "set it and forget it". The always-remember feature will probably always be present. I was curious about an option to enable auto-forget for the security-conscious.

I'm primarily interested in solutions for iPhone and Android.

share|improve this question
Lastpass is a password manager, and its mobile app has the auto-forget feature. – Joe Dec 21 '12 at 15:51

Yup, this is a risk. However, there are reasonable ways to mitigate the risk of loss or theft of a smartphone.

One standard method is to wipe your phone once you've noticed it is lost. Usually, if you lose your phone, you'll notice that fact fairly rapidly -- and if it's stolen, you might even know right away. That gives the chance to immediately wipe your phone, which then prevents a loss of your passwords. Many corporate-oriented systems also provide a way to lock the user's corporate accounts and reset their corporate passwords at that point, so that the password to your corporate email service is worthless.

Another standard defense is to require a secret PIN, swipe code, face recognition, or other password to unlock your phone. That also helps protect you against most folks who would recover or steal your phone, since they're probably not going to be able to guess your PIN. Of course, this defense is far from perfect: someone with sufficient sophistication may be able to bypass the unlock screen and get access to your data by reading it directly off the flash storage. However, this requires more sophistication than most thieves are likely to have, so a PIN unlock screen may be good enough to deter common thieves.

So, if you put all of these together -- are they perfect? No, they're not. But they help.

I realize this didn't answer your question of how to enable auto-forget. That will probably be platform-specific. If you don't get a good answer here, you might want to try asking on Ask Different (for iOS) or Android Enthusiasts (for Android), two of our sister sites focused on specific smartphone platforms.

Trivia: On Android, have you looked at Menu > Settings > Location & security > Credentials storage > Use secure credentials? I think this only protects your Wifi passwords, but it's one mechanism to know about.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.