Managed Smart Tag Security [Office 2003 SDK Documentation]

The following section discusses security related to smart tags built using Microsoft Visual Studio® .NET. It first gives a background on running managed COM add-ins (implementing the IDTExtensibility2 interface) and managed smart tag DLLs in Microsoft Office XP. If you have experience building managed COM add-ins and managed smart tags in Office XP, you will know there are security considerations to take into account when running them in Office XP.

In Office 2003, there is new managed code support added for managed smart tag. Managed smart tags in Office 2003 do not need to be registered for com interop at HKEY_CLASSES_ROOT. Additionally, managed smart tags aren't subjected to Office 2003 security checks but to .NET security checks instead. These will be discussed in detail in this section, including the Microsoft Visual Studio Tools for the Office Microsoft Office System loader, granting full trust permissions and setting of security policies.