Reputation: 1339
I have a fairly basic question for using libcurl, which I could not find an answer from googling/stackoverflow.
I would like to use libcurl to authenticate user to a remote Windows site. To do that, I need to pass in the Windows credentials (domain/user/password) to libcurl. How to I retrieve the current login user's credential from Visual C++ for this purpose? Goal is not to have to prompt user again for their Windows credentials.
Upvotes: 0
Views: 1487
Reputation: 3609
you can't if you could this was a security breach Trojans could steal user's credential.
usually for authentication systems only save the a hash(md5/sha1) of the password , not the password itself so even if one have an accesses to that hash he cant steal the password. as he need the password not the hash. i don't know about windows but i believe they do the same.
Upvotes: 1