Security

  • Thread starter Thread starter Normski
  • Start date Start date
N

Normski

I'm trying to develop an application (Windows Form Based). The application
will be reside on a shared network drive in a Windows 2003 Domain. The user
(Domain User) will access the application from his/hers PC.

Now everything works fine if the User is a member of "Domain Admins" but if
the remove the membership leaving "Domain User" the applcation fails with:

"System.Security.SecurityException: Requested registry access is not
allowed."
etc.

Question What actions do I need to carry out to allow a normal "Domain User"
access to normal activities such as accessing the registry?
 
What kind of registry access (query or set) do you consider as a normal
activity?
What registry hive /key are you accessing? "Domain users" don't have access
to the local registry other than the HKCU.

Willy.
 
Willy thanks for your answer, I've changed the code so it accesses HKCU,
works fine!
I'm trying to access HKLM, is it possible to give "Domain User" HKLM
access?, or what member should a user be to allow HKLM access?

Thanks
Norm
 

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

Back
Top