Re: [GD-Windows] Getting an user's security details
Brought to you by:
vexxed72
From: Adrian C. <ce...@ce...> - 2003-06-21 16:37:49
|
I *don't* want the password, I just want to start a process that uses another user's security credentials/rights. I don't wanna store the password anywhere, just like in the one-way security system you yourself mentioned. Oh, and I'm just learning how to create services, and I tought a cron-alike would be cool to create. ----- Original Message ----- From: "Ivan-Assen Ivanov" <as...@ha...> To: <gam...@li...> Sent: Saturday, June 21, 2003 7:22 PM Subject: RE: [GD-Windows] Getting an user's security details > You are looking for a function like GetCurrentUserPassword() ? > That's a very bad idea, and I'd be very surprised if such a function > existed. > > Imagine someone walking in on to your PC while you're on > lunch break and running a small exe calling that function. > He would be able to gain much more control over your PC > (and possibly your life, if you, like the vast majority of > users, reuse passwords) than he has just by having temporary > physical access. He could change your password. He could > set your password to expire. He could log in with the same > password to other services. > > Notice that Win2K-s own cron-like security service (Scheduled Tasks) > asks you for a users's password when you specify you need to > run a task as a certain password. > > Actually, Unices have been doing just fine for decades without > having the passwords themselves stored anyway - just their > one-way encrypted (hashed) form. > > regards, > Assen > > PS. What's wrong with Scheduled Tasks? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > > |