Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - A non-Administrative User to run program with Administrative previlidges

Reply
 
Old 11-16-2007   #1 (permalink)
Alex Ferenstein


 
 

A non-Administrative User to run program with Administrative previlidges

In Unix, I can set a CHMOD bit to allow an executable to be run with Owner's
(even Root's) permissions by another user.
I am using a Vista program SIW (http://www.gtopala.com/) that requires
Administrative privileges (to monitor some system parameters, like
temperature). I would like non-Administrative users to be able to run this
program with these privileges. I've looked at NTFS permissions but cannot
recognize anything that'll help. How can I do same in NTFS/Vista?


My System SpecsSystem Spec
Old 11-16-2007   #2 (permalink)
Alex Ferenstein


 
 

Re: A non-Administrative User to run program with Administrative previlidges

Forgot to mention, Run as Administrator doesn't help...

"Alex Ferenstein" <epaalx@xxxxxx> wrote in message
news:OKAmtSKKIHA.3516@xxxxxx
Quote:

> In Unix, I can set a CHMOD bit to allow an executable to be run with
> Owner's (even Root's) permissions by another user.
> I am using a Vista program SIW (http://www.gtopala.com/) that requires
> Administrative privileges (to monitor some system parameters, like
> temperature). I would like non-Administrative users to be able to run this
> program with these privileges. I've looked at NTFS permissions but cannot
> recognize anything that'll help. How can I do same in NTFS/Vista?
My System SpecsSystem Spec
Old 11-17-2007   #3 (permalink)
Jimmy Brush


 
 

Re: A non-Administrative User to run program with Administrative previlidges

Hello,

There is no built-in administrative way to do this in Windows.

The "correct" way for this to be done in the Windows world is for the
user-facing application to run with the privileges of the user, and then
access the information through a privileged windows service that supposedly
enforces whatever security policy you have set as an administrator.

In addition, are you certain that the information that you want to be
displayed to the standard user is actually restricted to admins only?
Generally, a lot of OS information can be seen by non-admins in read-only
form.

--
- JB
Microsoft MVP Windows Shell/User

"Alex Ferenstein" <epaalx@xxxxxx> wrote in message
news:uEkBGUKKIHA.5788@xxxxxx
Quote:

> Forgot to mention, Run as Administrator doesn't help...
>
> "Alex Ferenstein" <epaalx@xxxxxx> wrote in message
> news:OKAmtSKKIHA.3516@xxxxxx
Quote:

>> In Unix, I can set a CHMOD bit to allow an executable to be run with
>> Owner's (even Root's) permissions by another user.
>> I am using a Vista program SIW (http://www.gtopala.com/) that requires
>> Administrative privileges (to monitor some system parameters, like
>> temperature). I would like non-Administrative users to be able to run
>> this program with these privileges. I've looked at NTFS permissions but
>> cannot recognize anything that'll help. How can I do same in NTFS/Vista?
>
My System SpecsSystem Spec
Old 11-20-2007   #4 (permalink)
Alex Ferenstein


 
 

Re: A non-Administrative User to run program with Administrative previlidges

Thanks for reply, Jimmy.


"Jimmy Brush" <jb@xxxxxx> wrote in message
news:515627A2-0C08-4A18-9634-3A55A00FE38F@xxxxxx
Quote:

> Hello,
>
> There is no built-in administrative way to do this in Windows.
>
> The "correct" way for this to be done in the Windows world is for the
> user-facing application to run with the privileges of the user, and then
> access the information through a privileged windows service that
> supposedly enforces whatever security policy you have set as an
> administrator.
>
> In addition, are you certain that the information that you want to be
> displayed to the standard user is actually restricted to admins only?
> Generally, a lot of OS information can be seen by non-admins in read-only
> form.
>
> --
> - JB
> Microsoft MVP Windows Shell/User
>
> "Alex Ferenstein" <epaalx@xxxxxx> wrote in message
> news:uEkBGUKKIHA.5788@xxxxxx
Quote:

>> Forgot to mention, Run as Administrator doesn't help...
>>
>> "Alex Ferenstein" <epaalx@xxxxxx> wrote in message
>> news:OKAmtSKKIHA.3516@xxxxxx
Quote:

>>> In Unix, I can set a CHMOD bit to allow an executable to be run with
>>> Owner's (even Root's) permissions by another user.
>>> I am using a Vista program SIW (http://www.gtopala.com/) that requires
>>> Administrative privileges (to monitor some system parameters, like
>>> temperature). I would like non-Administrative users to be able to run
>>> this program with these privileges. I've looked at NTFS permissions but
>>> cannot recognize anything that'll help. How can I do same in NTFS/Vista?
>>
>
My System SpecsSystem Spec
Old 01-16-2008   #5 (permalink)
rvc


Vista Ultimate x32
 
 

Re: A non-Administrative User to run program with Administrative previlidges

I have a similar problem. I have a Delphi program that makes a call to Set8087CW to disable the FPU exception. I now have a user that has moved the software over to Vista and he is able to run it by setting the run as adminstrator to true. The problem is when the program is moved to a network where the user doesn't have administrative privileges the program won't run as the Set8087CW call requires the privilege. Is the only way to get around this problem to take the code requiring the privilege and creating a service? If so are there any good references for this (Visual C++).

Thanks.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Re: How to know if a user has administrative privileges VB Script
Problem with Flash Content in User Vs. Administrative Vista Accoun Vista General
Running Administrative Processes at Boot w/o User Intervention Vista General
Deleting Administrative User? Vista account administration
Allowing program to load without administrative password Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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