A non-Administrative User to run program with Administrative previlidges

Discussion in 'Windows Vista Security' started by Alex Ferenstein, Nov 16, 2007.

  1. 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?
    Alex Ferenstein, Nov 16, 2007
    1. Advertisements

  2. Forgot to mention, Run as Administrator doesn't help...
    Alex Ferenstein, Nov 16, 2007
    1. Advertisements

  3. Alex Ferenstein

    Jimmy Brush Guest


    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
    Jimmy Brush, Nov 17, 2007
  4. Thanks for reply, Jimmy.

    Alex Ferenstein, Nov 20, 2007
  5. Alex Ferenstein

    rvc Guest

    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++).

    rvc, Jan 16, 2008
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.