I need to store the name / password of my users somewhere (preferably a registry), so my .Net application can use them to log into some remote service on behalf of the user. I know that you can store values ββin the registry as "secrets", which means encrypting them using a Windows domain user token or something like that. In other words, I do not want to deal with the encryption itself.
To clarify: I cannot store password hashes or salt them or anything else. These credentials are for a third-party system and only so that I can log into this system on behalf of my users in one way or another to save their credentials and restore them.
One way or another, I vaguely remember such a place in the registry, but the details are grim. And I need to do this in C # (although if it's easy access to the registry, it doesn't matter).
Edit: One more thing, it should persist between Windows user sessions (IOW this does not help me if the password is unreadable after the user has logged out and logged out).
Assaf lavie
source share