How to elevate integrity for a guest account

raamkri

New member
Local time
1:34 PM
Messages
3
Hi,

We have an utility in our application that makes use of ActiveX and prints the document user needs from our repository in the background without user intervention. For this we used to download the document to the Temp folder, which we got using the windows API gettemppath(), and after this, the print is fired from this location.

This utility works fine on Windows XP. But fails on Windows Vista and Windows 7. Found out that this is because of the protected mode feature present in windows vista and higher OS. True to this, the utility works fine if i add our site to the trusted sites list, or run the application as an administrator or when i disable the protected mode.

We don't expect our users to be able to do any of the above changes themselves. so, we are investigating on finding a way to make this work without straining our users. we are OK with changing the code too.

I understand that there is a way by which i can elevate the event by using a broker process. but, i sense that it needs admin privileges for that to happen. Is there a way by which i can ensure that a guest user ( i.e, Non Admin ) can use the utility without fail ? code change or otherwise !

I would be really thankful to anyone who can help me out with this. Please let me know if anymore detail is needed

Thanks
 

My Computer My Computer

OS
Windows 7
The first thing I would look into [and personally my expertise in this area is very slim] group policies for the user(s) in question. Using Group Policies, you can set very specifically what the user can and cannot do, so you don't have to put them in a generalized "guest" account.

Unfortunately I am not that great in that area and someone else may need to step in from here if they know more.
 

My Computer My Computer

OS
Windows 7 Ultimate 64-bit
CPU
AMD Phenom II X6 1090T 3.2GHZ
Motherboard
MSI 890FXA-GD70
Memory
G.SKILL RipJaw 3x2GB DDR3-1066
Graphics Card(s)
2x HIS Radeon HD 6850 1 GB
Sound Card
VIA 8-channel
Monitor(s) Displays
2x 20 inch Acer LCDs, 1x 32" Sony LCD TV
Screen Resolution
4480x900
Hard Drives
1x Crucial 64GB SSD
3x 1TB HDDs (WD, Seagate, Hitatchi)
1x 500GB Seagate External
PSU
Kingwin 1000W Modular
Case
Coolermaster HAF 932
Cooling
1x 120mm, 3x 200mm, CoolerMaster Hyper 212+
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wiresless Mouse 5000
Internet Speed
20mbps
Other Info
Samsung BD-ROM/DVD-RW
Back
Top