Export (0) Print
Expand All

Importing Security Components Using XML Files

A new application that you want to install on your computer might include security components that do not come with the Windows Software Development Kit (SDK). In this case, the application might also include a text file that contains information about the security component in XML form. This information corresponds to the XML serialization of the component. The XML file contains a specific configuration of the security component.

The security system uses XML files to store and recreate the code group hierarchy for each policy level. When you receive an XML file from an application developer, you must insert its contents into the security configuration file. This ensures that the new security component will be recognized by the common language runtime. For more information, see Importing Security Components Using XML Files.

Depending on the complexity and purpose of the new security component, you might need to change its configuration. See the documentation that comes with the component to learn how to change its configuration.

Caution noteCaution

If the application does not come with an XML text file, you must create one manually. See the application's documentation to determine how to create this file.

Although the application developer determines its contents, the XML file will follow a specific format. This section describes what you might see in the XML file, how each component affects security policy, and what you must do to make the runtime recognize the new component.

How to: Import a Permission by Using an XML File

Describes how to import a permission that does not come with the Windows SDK.

How to: Import a Permission Set by Using an XML File

Describes how to import a permission set that does not come with the Windows SDK.

How to: Import a Code Group by Using an XML File

Describes how to import a code group that does not come with the Windows SDK.

How to: Add an Assembly to the Policy Assemblies List

Describes how to add an assembly that does not come with the Windows SDK to security policy.

Security Policy Management

Describes the .NET Framework security policy model.

.NET Framework Configuration Tool (Mscorcfg.msc)

Describes how to run the .NET Framework Configuration tool.

Community Additions

ADD
Show:
© 2014 Microsoft