Location, Location, Location
One of the most straightforward ways to ensure that customized Word and Excel documents can run is to set a policy that states that customization assemblies that run from a particular place are fully trusted. You might have Web servers or file shares on your network where write access is restricted to trusted individuals; if the customization is there, that is pretty good evidence that it is trustworthy.You can set an Enterprise-level policy that states that customization assemblies at a particular location are fully trusted by right-clicking the All Code code group in the Enterprise policy level and selecting New from the menu. Doing so causes the Create Code Group dialog to appear, as shown in Figure 19-3.
Figure 19-3. The first step of the Create Code Group dialog.
[View full size image]

Figure 19-4. The second step of the Create Code Group dialog.

Figure 19-5. The third step of the Create Code Group dialog.

Figure 19-6. The Properties dialog for the AccDeptDocuments code group.

Creating a level-final code group considerably weakens your security policy because it prevents lower code groups from enforcing further restrictions. Always be careful when setting security policy, but be particularly careful when creating level-final groups. |