Re: elevate rights within an application
- From: "Henning Krause [MVP - Exchange]" <newsgroups_remove@xxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Dec 2006 11:39:05 +0100
Of course,
but this may not be an option - have seen this in several companies... sad, but true.
Best regards,
Henning Krause
"Dominick Baier" <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:51eb304845168c8f87fc6a3fe70@xxxxxxxxxxxxxxxxxxxxx
Maybe it would be more appropriate to set the right ACLs on the entries this account has to change than using clear text passwords on a client...
-----
Dominick Baier (http://www.leastprivilege.com)
Hello,
if the logged-on user running your application has the appropiate
permissions, your code should be able to do the job (if you use
integrated authentication for the directory stuff).
However, if the logged on user does not have the required permission,
you must get a username/password combination and impersonate that user
using Win32 LogonUser.
What type of application are you talking about? Web, Windows or
Windows Service?
Best regards,
Henning Krause
"@rturo" <rturo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1205B3A6-57AA-41E4-868E-22F11C0A671D@xxxxxxxxxxxxxxxx
In my company there's the need to update personal information on AD
for
every
users, like phone numbers and addresses.
I struggle alot that only a user with domain admin privileges has the
access
to do those changes to AD.
How can I do in .net to elevate the user rights in an application to
run a
few lines of code.
Thanks
.
- References:
- Re: elevate rights within an application
- From: Henning Krause [MVP - Exchange]
- Re: elevate rights within an application
- From: Dominick Baier
- Re: elevate rights within an application
- Prev by Date: Re: X509Store returning removed certificates from store
- Next by Date: Does PKCS11 Wrapper in C# exits??
- Previous by thread: Re: elevate rights within an application
- Next by thread: Re: elevate rights within an application
- Index(es):
Relevant Pages
|