XmlSecureResolver Class

XmlSecureResolver Class

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Helps to secure another implementation of XmlResolver by wrapping the XmlResolver object and restricting the resources that the underlying XmlResolver has access to.

For a list of all members of this type, see XmlSecureResolver Members.


[Visual Basic]
Public Class XmlSecureResolver
   Inherits XmlResolver
public class XmlSecureResolver : XmlResolver
public __gc class XmlSecureResolver : public XmlResolver
public class XmlSecureResolver extends XmlResolver

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


XmlSecureResolver wraps around a concrete implementation of XmlResolver, and restricts the resources that the underlying XmlResolver has access to. For instance, XmlSecureResolver has the ability to prohibit cross-domain redirection, which occurs from an embedded URI reference.

When you construct an XmlSecureResolver object, you provide a valid XmlResolver implementation along with a URL, an instance of Evidence, or a System.Security.PermissionSet, which is used by the XmlSecureResolver to determine security. Either a PermissionSet is generated or the existing one is used and PermitOnly is called on it to help secure the underlying XmlResolver.


Namespace: System.Xml

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Xml (in System.Xml.dll)

See Also

XmlSecureResolver Members | System.Xml Namespace | PermitOnly

© 2015 Microsoft