| Can someone please describe why impersonation requires the impersonator to
| be local admin?
Not sure where you get this from, but you can impersonate any valid user
account, provided you have the right privileges to do so.
Willy.
Willy Denoyette [MVP] - 31 Aug 2006 19:25 GMT
|| Can someone please describe why impersonation requires the impersonator to
|| be local admin?
[quoted text clipped - 3 lines]
|
| Willy.
By privilege I mean the "Impersonate after authentication privilege" or
"SeImpersonatePrivilege".
This privilege is per default granted to Administrators and Service accounts
(Localsystem, Local Service, Network Service and optionally Aspnet).
If you need to grant this privilege to other accounts, one can use "Local
Security Policy" editor or do so in code (using PInvoke), but before doing
so, beware of the security implications, regular user accounts should not be
able to impersonate.
Willy.
Hi,
Impersonation means that the app runs with the permissions of the user
being impersonated.
What would be the use of it if the target user NEEDS to be admin?
I have several web apps that runs under this escenario and the users have no
permissions at all in the server (just to an upload dir).
Give more details about your problem

Signature
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
> Can someone please describe why impersonation requires the impersonator to
> be local admin?
Ben Voigt - 31 Aug 2006 19:49 GMT
> Hi,
>
> Impersonation means that the app runs with the permissions of the user
> being impersonated.
>
> What would be the use of it if the target user NEEDS to be admin?
Impersonator, i.e. caller, not target user.
This is so you can shed permissions (as a web app), but not gain them. One
wouldn't want a local untrusted app being able to execute a dictionary
attack at high speed (or generating random authentication cookies to avoid
the audited call to LogonUser) until successful.
'nix has a similar concept, requiring wheel membership to su as root, even
with the password.
> I have several web apps that runs under this escenario and the users have
> no permissions at all in the server (just to an upload dir).
[quoted text clipped - 3 lines]
>> Can someone please describe why impersonation requires the impersonator
>> to be local admin?