PhoenixmlDb.XQuery

ResourceGate

The one check every function that dereferences a URI or path makes before opening it.

#ResourceGate

Namespace: PhoenixmlDb.XQuery.Security

The one check every function that dereferences a URI or path makes before opening it.

#Methods

#Authorize(PhoenixmlDb.XQuery.Ast.ExecutionContext,String,PhoenixmlDb.XQuery.Security.ResourceAccessKind,String)

Authorises

under the context's resource policy and returns the URI to open (absolute; a

file:

path canonicalised). Returns null when no policy is configured, in which case the caller proceeds as it always has. A denial is raised as

, the error the function reports for an unretrievable resource.

#Resolver(PhoenixmlDb.XQuery.Ast.ExecutionContext)

The per-query enforcing resolver, which also keeps the load budgets.