DekGenius.com
[ Team LiB ] Previous Section Next Section

XmlSecureResolverSystem.Xml (system.xml.dll) .NET 1.1  class 

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
}

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.

Hierarchy

System.Object XmlResolver XmlSecureResolver

    [ Team LiB ] Previous Section Next Section