Can I grant temp rights to a user in an application

  • Thread starter jean-dot-paul-at-opelwilly-dot-com
  • Start date
J

jean-dot-paul-at-opelwilly-dot-com

Hello all,

I have two different applications where my application wants to do something
the logged user has not the rights to:

1) Change a HKEY_LOCAL_MACHINE key value. The user has only Local\User
rights and I seem to need Administrator rights. Is it posible to grant in my
program (Windows .NET) temporaly local/administrator rights, knowing the
password. Or is there an other way around?

2) An analoge problem: I want to write a tool that enables/disables
site-access-rules on an ISA server that can be run by any serveroperator
without giving them permanent admin rights. (The other settings of the ISA
server may not been seen/modified by the user)

tnx in advance

Jean Paul
 
J

jean-dot-paul-at-opelwilly-dot-com

Kannan,

Tnx for reply,

Your sugestion don't not give me a solution. Even if I give 'full trust ' to
the application, the user rights limits my user to write to the LOCAL
MACHINE regkeys.

If I make him administrator there is not a problem but even SuperUsers can't
access the reg.

If you, or others, happens to have more idee's, let them come

Jean Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top