Overclock.net › Forums › Software, Programming and Coding › Networking & Security › How to set local security policy?
New Posts  All Forums:Forum Nav:

How to set local security policy?

post #1 of 2
Thread Starter 
Howdy all, I'm trying to set a security policy for one of the administrators on my computer. I would like this person to have all admininstrator privileges except for the following:

Ability to install and uninstall programs
Ability to change network settings
Ability to change these privileges or access the local security policy or local group policy programs to change them.

Could someone give me some guidance on the easiest way to change these things?
Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 Gigabyte GA-EP45-UD3P Sapphire 5870 Cypress XT EF6 2GB 4GB (2x2GB) G.SKILL 1066 
Hard DriveOptical DriveOSMonitor
32GB Corsair SSD + 2x 320 + 1x 250 Lightscribe drive Windows 7 Ultimate Hanns-G HG-216DPO 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard OCZ GameXStream 850W HAF 932 Logitech G5 Laser Gaming Mouse 
Mouse Pad
Allsop 
  hide details  
Reply
Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 Gigabyte GA-EP45-UD3P Sapphire 5870 Cypress XT EF6 2GB 4GB (2x2GB) G.SKILL 1066 
Hard DriveOptical DriveOSMonitor
32GB Corsair SSD + 2x 320 + 1x 250 Lightscribe drive Windows 7 Ultimate Hanns-G HG-216DPO 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard OCZ GameXStream 850W HAF 932 Logitech G5 Laser Gaming Mouse 
Mouse Pad
Allsop 
  hide details  
Reply
post #2 of 2
Use Drop my rights
http://cybercoyote.org/security/drop.shtml

Drop My Rights is normally used from an Admin account. Drop My Rights creates a process using the Admins token, but strips it down the level of a User rather than an Admin. You end up with a program runningwith reduced rights.
It works in XP, Vista and 7. Don't bother if you use UAC.
Technically it uses CreateProcessAsUser() along with the following:
SaferCreateLevel()
SaferComputeTokenFromLevel()
SaferCloseLevel()

Here's a good step-by-step
http://www.techsupportalert.com/safe-surfing.php#c
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › How to set local security policy?