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 [C#] public class XmlSecureResolver : XmlResolver [C++] public __gc class XmlSecureResolver : public XmlResolver [JScript] public class XmlSecureResolver extends XmlResolver
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.
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)