PDA

View Full Version : Elevated Privileges


Jeff Smyrski
May 1st 04, 08:20 AM
Is there a way to allow a program / dll to always run with elevated
privileges. I have a software vendor that has provided us with programs,
one in particular that is a dll that generates htm code for a web session.
The way that the program is supposed to work, is that the user will make a
request to retrieve an archived/scanned document from a database. The
interface for that function is controlled in a dll loaded to the
Windows\System32 folder. The dll, goes fetches the image, and then converts
the image to an HTM web page. The problem is that the dll is doing all of
this work in the System32 folder, which unless you are a power user locally,
or higher, you can not create in the system32 folder. Until they fix the
bug (which by the way does not happen in windows 2000 or NT, why I don't
know) but until they fix the bug, I need to have a workaround for this
problem without giving all of my users Power User rights locally. They log
into a domain, that restricts many things on the user's workstation
including the installation of software, and by default XP limits the
permissions for users, to only read to the system32 folder. The dll is
basically using the system32 folder as a temp folder, and the htm document
is discarded after the inquiry has been executed. The file names are also
random in that they are always prefaced with a 32 digit string.htm

Is there a way to allow only that dll to execute whenever it is called with
elevated privileges, or is there another way to make this work, that perhaps
I have not thought of...

Thanks.

Jeff Smyrski

Google