saving a password in a db table
PermalinkThanks
Tony
I agree with you if i were authenticating on my own system I would use that approach, but I need to be able to feed the pass word to another system. I am going to look into mcrypt that might be the solution. I have just for now made a small algorythym that scrambles things up so I don't store the plain text password in the db.
So security wise, it is not that great. Or you could use a different approach, if you don't need to allow that second system to access automatically the password, you could use a public/private key type of approach (ala ssh), a bit more complex to setup, or throw in a manual password check in the middle (the admin would have to type in a password for the sync to happen). At least that would ensure the password not being stored in clear…
That would at least make it safe on the database dump point of view.