nonadmin

SetSAFER

SetSAFER is a policy-setting tool written by Michael Howard that can force applications to always run with lower priviledges. You can download it and read about it in his MSDN article "Browsing the Web and Reading E-mail Safely as an Administrator, Part 2".

Here's an example input file for SetSAFER:

<?xml version="1.0" encoding="UTF-8"?>
<safer>
  <app comment="Internet Explorer"
    path="C:\Program Files\Internet Explorer"
    user="true" />
  <app comment="Microsoft Office 2003"
    path="C:\Program Files\Microsoft Office\OFFICE11"
    user="true" />
  <app comment="MSN Messenger"
    path="C:\Program Files\MSN Messenger\msnmsgr.exe"
    user="true" />
</safer>

Michael has answered reader questions in his blog post about the article.

If you want to get started right away, and set your Internet Explorer browser to run as a user, save the following text to a file named LowRightsIE.reg and then double-click the file to edit your registry.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\131072\Paths\{effd8629-e248-4c3c-a06b-c178921c6745}]
"Description"="Internet Explorer"
"ItemData"="C:\\Program Files\\Internet Explorer"
"SaferFlags"=dword:00000000

See his post "SAFER and Internet Explorer" for more details on this quick fix.

See other Useful Tools

Comments

From Anonymous [24.128.144.27] - 4/9/05 6:52 AM

Be aware that if your company uses VPN technology based on a Java applet, you cannot set up this VPN connection without running your browser as admin.

From 68.242.141.231 - 6/26/05 9:14 AM

I use Firefox -- can I use the registry info above, just changing "\Program Files\Internet Explorer" to "\Program Files\Mozilla Firefox"?  Is this the pattern for any program or does each program have different inexplicable integers associated with it, as seen on the earlier line in the registry info?  Cool, if I don't have to somehow come up with the gibberish integers for each app I want to protect.

From jonathanh - 6/26/05 11:17 AM

Here's the scoop from Michael: if you want to reuse the registry shortcut, you have to create a unique "gibberish integer" (aka GUID) by hand for each program. SetSAFER does this for you.

 
 
 

Last Modified 1/28/06 10:00 PM