473,395 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Security

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?

Jul 21 '05 #1
3 1660
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.
"Normski" <no**@jjoplc.com> wrote in message
news:c6**********@hercules.btinternet.com...
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?


Jul 21 '05 #2
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.
"Normski" <no**@jjoplc.com> wrote in message
news:c6**********@hercules.btinternet.com...
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?


Jul 21 '05 #3
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

"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
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.
"Normski" <no**@jjoplc.com> wrote in message
news:c6**********@hercules.btinternet.com...
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?



Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: robert | last post by:
well, talk about timely. i'm tasked to implement a security feature, and would rather do so in the database than the application code. the application is generally Oracle, but sometimes DB2. ...
116
by: Mike MacSween | last post by:
S**t for brains strikes again! Why did I do that? When I met the clients and at some point they vaguely asked whether eventually would it be possible to have some people who could read the data...
4
by: Ashish | last post by:
Hi Guys I am getting the following error while implementing authentication using WS-security. "Microsoft.Web.Services2.Security.SecurityFault: The security token could not be authenticated...
0
by: prithvi g via .NET 247 | last post by:
Hi I am a newbie to .NET remoting, I am trying to implementauthorization using SSPI example provided by Michael Barnett. Ihave included the required dll(Microsoft.Samples.Security.SSPI.dll...
1
by: Earl Teigrob | last post by:
Background: When I create a ASP.NET control (User or custom), it often requires security to be set for certain functionality with the control. For example, a news release user control that is...
7
by: Magdelin | last post by:
Hi, My security team thinks allowing communication between the two IIS instances leads to severe security risks. Basically, we want to put our presentation tier on the perimeter network and the...
0
by: Jay C. | last post by:
Jay 3 Jan. 11:38 Optionen anzeigen Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements Von: "Jay" <p.brunm...@nusurf.at> - Nachrichten dieses Autors suchen Datum: 3 Jan...
3
by: Velvet | last post by:
I ran FxCop on one of the components for my web site and the security rules what me to add " tags like the ones listed below: This breaks my ASP.NET application. So my question is,...
1
by: Jeremy S. | last post by:
..NET's code Access Security enables administrators to restrict the types of things that a .NET application can do on a local computer. For example, a ..NET Windows Forms application can be...
2
by: Budhi Saputra Prasetya | last post by:
Hi, I managed to create a Windows Form Control and put it on my ASP .NET page. I have done the suggestion that is provided by modifying the security settings. From the stack trace, I would...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.