PhoenixmlDb.XQuery

ResourcePolicy

Immutable security policy controlling resource access for XSLT and XQuery engines.

#ResourcePolicy

Namespace: PhoenixmlDb.XQuery.Security

Immutable security policy controlling resource access for XSLT and XQuery engines.

#Properties

Name Description
InMemoryOnly No external access at all. Only in-memory documents provided via a custom resolver.
ServerDefault Deny-by-default for server deployments. No filesystem, no network, no DTDs, no xsl:evaluate. Only documents pre-loaded by the application or served by a custom resolver are accessible.
Unrestricted Backwards-compatible default: all schemes allowed, no limits beyond existing defaults.

#Methods

#IsAllowed(Uri,PhoenixmlDb.XQuery.Security.ResourceAccessKind)

Checks whether the given URI is allowed for the requested access kind.