This class decorates an XmlResolver
instance to provide security
restrictions on the normal behavior of an
XmlResolver. For example, it can prevent resolving
URI references that reference other domains embedded within an XML
document. See XmlUrlResolver for the concrete
implementation this class will usually wrap around.
public class XmlSecureResolver : XmlResolver {
// Public Constructors
public XmlSecureResolver(XmlResolver resolver, System.Security.Policy.Evidence evidence);
public XmlSecureResolver(XmlResolver resolver, System.Security.PermissionSet permissionSet);
public XmlSecureResolver(XmlResolver resolver, string securityUrl);
// Public Instance Properties
public override ICredentials Credentials{set; }
// overrides XmlResolver
// Public Static Methods
public static Evidence CreateEvidenceForUrl(string securityUrl);
// Public Instance Methods
public override object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)
// overrides XmlResolver
public override Uri ResolveUri(Uri baseUri, string relativeUri)
// overrides XmlResolver
}