I am currently planning to develop a PHP application that requires user passwords for external services to be stored so that they can be logged in simultaneously when a user logs into my application.
I will need to store passwords in protected, that is, not in plain text, and not in base64 encoding, but this should also be available as plain text by the application, one way or another.
I could only think of something like the following:
When a user adds their credentials for an external service to their account, they re-enter their password for my application and that (in encrypted form) is used to "encrypt" the password for the external service in some way, but in a way that makes it affordable still.
Does anyone have any thoughts, if possible, or a potential solution?
thanks
Also : it is worth noting that this will be an SSL connection in which data is transmitted.
Out of curiosity : say, for example; Google Mail, you can add email accounts to your Google Mail account so that they are all verified. Anyone have any thoughts on how Google stores passwords for the accounts you add?
source share