By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,894 Members | 1,191 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,894 IT Pros & Developers. It's quick & easy.

Changing the registry permissions in C#

P: n/a
I'm working on a app that displays according to a registry key value. The
user needs the ability to update the display, and hense the registry key
(via a click event on a popup menu). This all worked just fine until some
users were set up as power-users. I've tried to change the permissions on
that key programatically, on the fly, but to no avail.

Here's my question: While the user is logged in with limited permissions,
will the application be able to change the permissions or will it be bound
by the restrictions of the user?

Thanks.

--
Message posted via http://www.dotnetmonster.com
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In short, from my experience, no. You're application is bound by the rights
of the user under which it is run. I has a similar situation where I was
writing a bespoke application on a corporate network and the standard users
didn't have read permissions to the registry hive I'd set up. The end result
was moving the configuration to the config file, which in my situation was
better anyway.

"Daniel Passwater via DotNetMonster.com" <fo***@DotNetMonster.com> wrote in
message news:58******************************@DotNetMonste r.com...
I'm working on a app that displays according to a registry key value. The
user needs the ability to update the display, and hense the registry key
(via a click event on a popup menu). This all worked just fine until some
users were set up as power-users. I've tried to change the permissions on
that key programatically, on the fly, but to no avail.

Here's my question: While the user is logged in with limited permissions,
will the application be able to change the permissions or will it be bound
by the restrictions of the user?

Thanks.

--
Message posted via http://www.dotnetmonster.com

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.