PhoenixmlDb.XQuery
PolicyXmlResolver
An for System.Xml readers and schema sets that fetches only what a allows: external entities, external DTD subsets, and xs:include/xs:import schema locations. file: resources are opened at the canonical path the policy authorised; HTTP fetches re-authorise every redirect.
#PolicyXmlResolver
Namespace: PhoenixmlDb.XQuery.Security
An
for System.Xml readers and schema sets that fetches only what a
allows: external entities, external DTD subsets, and
xs:include
/
xs:import
schema locations.
file:
resources are opened at the canonical path the policy authorised; HTTP fetches re-authorise every redirect.
#Constructors
##ctor(PhoenixmlDb.XQuery.Security.ResourcePolicy,PhoenixmlDb.XQuery.Security.ResourceAccessKind)
Creates a resolver checking every fetch against
for
(ReadDocument for entities and DTDs, ImportStylesheet for schemas).