Skip to Content
.NET & XML
book

.NET & XML

by Niel M. Bornstein
November 2003
Intermediate to advanced
476 pages
14h 38m
English
O'Reilly Media, Inc.
Content preview from .NET & XML

Name

XmlSecureResolver — System.Xml (system.xml.dll) .NET 1.1  class 

Synopsis

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.ObjectXmlResolverXmlSecureResolver

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied XML Programming for Microsoft® .NET

Applied XML Programming for Microsoft® .NET

Dino Esposito
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0596003978Supplemental ContentErrata