User Password
-
Hi Forum, i need help by retriving the current user password, in my application user can create a task to schedule, but i dont want that the user inputs him password and name, this should be comming from the funktion, the user name i get with the GetUserName() method but i need hims password to create a task! Is that any known method for this? method NetUserGetInfo() retrives me a empty string so i can't take it, example : NetUserGetInfo( NULL, user_name, 1, (byte **) &info ); CString strUserPassword = info->usri1_password; strUserPassword is empty now! thanx for help mirsad
-
Hi Forum, i need help by retriving the current user password, in my application user can create a task to schedule, but i dont want that the user inputs him password and name, this should be comming from the funktion, the user name i get with the GetUserName() method but i need hims password to create a task! Is that any known method for this? method NetUserGetInfo() retrives me a empty string so i can't take it, example : NetUserGetInfo( NULL, user_name, 1, (byte **) &info ); CString strUserPassword = info->usri1_password; strUserPassword is empty now! thanx for help mirsad
-
Hi Forum, i need help by retriving the current user password, in my application user can create a task to schedule, but i dont want that the user inputs him password and name, this should be comming from the funktion, the user name i get with the GetUserName() method but i need hims password to create a task! Is that any known method for this? method NetUserGetInfo() retrives me a empty string so i can't take it, example : NetUserGetInfo( NULL, user_name, 1, (byte **) &info ); CString strUserPassword = info->usri1_password; strUserPassword is empty now! thanx for help mirsad
You have to ask the user for his password. For security purposes, there is not a readily available API to retrieve the user's password. Else every trojan, worm, and virus out there would be using it.
-
You have to ask the user for his password. For security purposes, there is not a readily available API to retrieve the user's password. Else every trojan, worm, and virus out there would be using it.
(In fact, there is no API to read the password because the OS doesn't even store the password.) --Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD
-
(In fact, there is no API to read the password because the OS doesn't even store the password.) --Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD
thanx for answers, for example, when i create a task for my antivirus programm to start every day in 00:00 time, i dont need a passwort, and the task is valid, that is because i thing that is possible, and i know, a new task whitout a USERNAME and PASSWORD will NEWER start, how is that possible?! that is thrue! So i look for a new solution to create a new task whitout a needs to user inputs him's password! The username is not a problem! There must be a way to due this, the people from symantec due the same :) thanx mirsad
-
thanx for answers, for example, when i create a task for my antivirus programm to start every day in 00:00 time, i dont need a passwort, and the task is valid, that is because i thing that is possible, and i know, a new task whitout a USERNAME and PASSWORD will NEWER start, how is that possible?! that is thrue! So i look for a new solution to create a new task whitout a needs to user inputs him's password! The username is not a problem! There must be a way to due this, the people from symantec due the same :) thanx mirsad
-
Actually Power Behind Symantec Anitvirus is that it's running it's scanning engine as a Window Service(which run on Administrative Priviledge) keep smilling.....b'coz smile is the shortest distance between people....