I have a user giving me a password that I need to save for automation they want to have me run. I can't use their existing credentials as it's not something Windows talks to.
And I don't want to store their password in plain text. And any encryption I do in my app (it's a desktop app) can be undone by tracing through the program.
I believe (but can't find it) that there's a way to encrypt a string and Windows encrypts it using the logged in credentials. That way the password is only readable if the user is logged in.
Is this the best way to handle this situation?
And if so, can you please point me to a page that says how to do this?
thanks - dave