PhoenixmlDb.XQuery
UriRule
Defines a scoped access rule for resource URIs.
#UriRule
Namespace: PhoenixmlDb.XQuery.Security
Defines a scoped access rule for resource URIs.
#Properties
| Name | Description |
|---|---|
Access
|
Which resource operations this rule allows. |
Host
|
Optional host pattern. Null matches any host. Supports leading wildcard (e.g. "*.example.com"). |
PathPrefix
|
Optional path prefix. Null matches any path. Must start with "/" if specified. |
Scheme
|
URI scheme to match (e.g. "https", "file", "s3"). Use "*" for any scheme. |
#Methods
#Matches(Uri,PhoenixmlDb.XQuery.Security.ResourceAccessKind)
Tests whether this rule matches the given URI and access kind.