So, you've written a little application that requires a login and you authenticate against a record in a DB (in whatever fashion you have chosen). All is hunky dory.
You now want to use this application to store other passwords - to have a list of usernames, passwords, ips etc for devices/logins. Obviously you can't store these in plain text but they need to be some-how encrypted so that only an authenticated user can get in. You also need to be able to view/recover these passwords for use i.e. "click to view" and they show up. Salting against the original auth password wont work then for obvious reasons.
How would you do it?
You now want to use this application to store other passwords - to have a list of usernames, passwords, ips etc for devices/logins. Obviously you can't store these in plain text but they need to be some-how encrypted so that only an authenticated user can get in. You also need to be able to view/recover these passwords for use i.e. "click to view" and they show up. Salting against the original auth password wont work then for obvious reasons.
How would you do it?
Last edited by a moderator: