|
C# - Retrieve an encrypted copy of current user's password string -- skrewed --
Hi, I currently am working with a third-party application and plan to wrap the provided installer for this application inside another installer that I will make. My installer will simply set a number of registry settings and then trigger the third party installer in "/silent" mode. This allows a normal user to installer one application, start it up and have all their settings populated. One of the settings in the application is the username of the current user and an encrypted string that represents the password of the user. I have retrieved the name of the current user using: "WindowsIdentity.GetCurrent().Name;". Is their a way to get an encrypted copy of the user password? If so, I can get the third party application to use the same encryption/de-cryption process. Perhaps storing the encrypted user password in the registry is not a good idea and I should ask the third party to get their application to impersonate?? Any thoughts are welcome, |