Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > How to selectively set user permissions in Vista?

Reply
Thread Tools Display Modes

How to selectively set user permissions in Vista?

 
 
Disconnected
Guest
Posts: n/a

 
      09-25-2008
I am starting to write .NET applications and would like to create a
User Account that I can use for testing, that has a specific range of
permissions relevant to the application I am testing.

File Permissions I can set by going to the directory.

However, I cannot see where/how you set more esoteric permissions like
"EventLogPermission" needed to read/write to the Vista Event Logs.

Is there a Vista utility where you can specify a User Account, then
assign whatever permissions you require?

Or if not, what is the general method of assigning these very specific
type of permissions?

Thanks for any help in advance.

Steve
http://www.appetere.com
 
Reply With Quote
 
 
 
 
Synapse Syndrome
Guest
Posts: n/a

 
      09-26-2008
Disconnected <> wrote:
>
> I am starting to write .NET applications and would like to create a
> User Account that I can use for testing, that has a specific range of
> permissions relevant to the application I am testing.
>
> File Permissions I can set by going to the directory.
>
> However, I cannot see where/how you set more esoteric permissions like
> "EventLogPermission" needed to read/write to the Vista Event Logs.
>
> Is there a Vista utility where you can specify a User Account, then
> assign whatever permissions you require?
>
> Or if not, what is the general method of assigning these very specific
> type of permissions?
>
> Thanks for any help in advance.



Can't this be done in that Control Panel item in Administrative Tools, for
Microsoft .NET Framework Configuration?

ss.


 
Reply With Quote
 
Paul Montgumdrop
Guest
Posts: n/a

 
      09-26-2008
Disconnected wrote:
> I am starting to write .NET applications and would like to create a
> User Account that I can use for testing, that has a specific range of
> permissions relevant to the application I am testing.
>
> File Permissions I can set by going to the directory.
>
> However, I cannot see where/how you set more esoteric permissions like
> "EventLogPermission" needed to read/write to the Vista Event Logs.


You can't set Eventlog permissions in .Net on the eventlog such as
System or any other such type Eventlog, even a custom one that you have
created that I know about. The program will have the ability to
create an eventlog, write to the eventlog or clear the eventlog, which
is controlled by you the programmer.
>
> Is there a Vista utility where you can specify a User Account, then
> assign whatever permissions you require?



Yeah, there is a utility that's called Administrative Tools on Vista
just like on any other NT based O/S that allows the Administrator of the
computer to create, update, delete a user account and its permissions.

You create the account based on the permissions you need, you log onto
the computer using the account and you test the program under that
account to test permissions.

>
> Or if not, what is the general method of assigning these very specific
> type of permissions?
>


I don't know what you are talking about. At best, there are .Net
Framework utilities that you can invoke at the .Net Command Prompt or
the .Net Framework Admin tools, which would be off of Control
Panel/Administrative Tools, to set a .Net program's trust level.

If you need to control who can write to a log file, then you need to be
writing log information to a textfile called mylog.txt or something and
set permissions on the file using NTFS by user account.

Lastly, you need to be posting to a .Net developer's NG that are at
msnews.microsoft.com to get more information, because you are posting to
the wrong NG.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Permissions Ken GreyEagle Windows Vista Administration 3 04-29-2009 03:17 PM
changing user permissions? littleriver Windows Vista Administration 1 02-17-2008 02:29 PM
User & Group Permissions Ricki Parry Windows Vista Networking 1 11-04-2007 02:12 PM
User Permissions Michael D Windows Vista Security 1 08-31-2007 10:49 PM
User Permissions when Networking from Vista laptop Kathy M Windows Vista Networking 1 06-17-2007 11:41 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59