Disable opening forms with managed code from the Internet security zone

In InfoPath 2003, InfoPath forms located in the Internet security zone could not open if they contained managed code. By default, InfoPath 2007 has the same behavior. However policy can be enabled to allow opening and running managed code from the Internet security zone.

Supported on: At least Windows Vista

Registry HiveHKEY_CURRENT_USER
Registry PathSoftware\Policies\Microsoft\Office\12.0\InfoPath\Security
Value NameRunManagedCodeFromInternet
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

inf12.admx

Administrative Templates (Computers)

Administrative Templates (Users)