PhoenixmlDb.XQuery
ResourcePolicyBuilder
Fluent builder for .
#ResourcePolicyBuilder
Namespace: PhoenixmlDb.XQuery.Security
Fluent builder for
.
#Methods
#AllowImportFrom(String,String,String,Nullable<Int32>)
Allows importing XSLT stylesheet modules, XQuery library modules and schemas from
, optionally scoped to a host, port and path prefix.
#AllowReadFrom(String,String,String,Nullable<Int32>)
Allows reads (documents, text, collections) from
, optionally scoped to a host, port and path prefix. Reads only: importing a module or stylesheet needs
.
Parameters:
-
scheme— The URI scheme, e.g. "https" or "file". -
host— Host, or a "*.example.com" suffix pattern; null for any host. -
pathPrefix— Path prefix matched on whole segments; null for any path. -
port— The port; null means the scheme's default when a host is given. UseUriRule.AnyPortto allow every port on the host.
#AllowTransformFunction(Boolean)
Whether
fn:transform
may be called. It may, unless this is called with false; see
.