Domain and Version Security [ HP System Dictionary XL Gen. Ref. Vol. 1 ] MPE/iX 5.0 Documentation
HP System Dictionary XL Gen. Ref. Vol. 1
Domain and Version Security
This subsection describes the security scheme for System Dictionary
domains and the versions of the dictionary occurrences within each
domain. The occurrences also have protection, which is discussed further
on in this chapter. (Descriptions of domains and versions are located in
Chapter 4 of this manual.)
Domain Security
Domain security controls which scopes have access to which domains.
Therefore, the current scope must have access to the specified domain
when opening the dictionary or switching domains. Further, when
switching scopes, the new scope must have access to the current domain.
The security for any domain depends on:
* The access rights of the current scope to that domain.
* The sensitivity of the domain.
Access Rights. The access rights of a scope to a domain are determined
by whether the scope owns the domain or is just associated with it.
Association and ownership are discussed below.
DOMAIN OWNERSHIP When a scope owns a domain, it has all rights to that
domain, and can therefore modify it, transfer its ownership to another
scope, or even delete it. It can also allow another scope access to the
domain by associating the domain with that scope. Note that the DA scope
always has all rights to all domains.
The security of a domain applies indirectly to all versions within that
domain. Although the version itself does not have security, the current
scope must have access to the domain containing the version it is trying
to access.
DOMAIN/SCOPE ASSOCIATION An association between a domain and a scope is
an explicit access capability granted to that scope by the owner scope of
that domain. However, even though a scope has access to a given domain,
it cannot do operations within that domain (create, access, or delete
occurrences, for example) unless it also has the necessary scope rights
for those operations.
A scope can delete domain associations it has created from any
domain/scope association. It can also delete domain/scope associations
from itself.
Sensitivity. The security of a domain is actually set by its
Sensitivity. Domain sensitivity is set to one of two values when you
create a domain, and can be changed only by its owner scope or the DA
scope. The two values are:
1. = Private sensitivity: Only the DA scope or the scope that owns
the domain is allowed access to it, unless the DA scope or owner
scope assigns access to other scopes through domain/scope
associations.
2. = Public sensitivity: Any scope may access the domain.
When using the intrinsics to create a domain, you must specify the
sensitivity of that domain, as no default exists except when using
SDMAIN. Note that the sensitivity of a domain should be carefully
determined. If you change the sensitivity from public to private, all
scopes that previously had access to this domain will no longer have
access, unless that domain is explicitly associated with them.
NOTE The sensitivity of the common domain is set to public, and cannot
be modified.
Domain Restrictions
System Dictionary provides the following security for domains.
* Only the DA scope or a scope with domain capability is allowed to
create new domains.
* When a scope creates a new domain, it becomes the owner of that
domain.
* Only the DA scope or the owner scope can delete or rename a domain or
change its owner scope.
Version Restrictions
System Dictionary provides the following security for versions:
* Only the DA scope or a scope with version capability is allowed to
create new versions.
* When a scope creates a new version, it becomes the owner of that
version.
* Only the DA scope or the owner scope can delete or rename a version
or change its owner scope.
* Only the DA scope or a scope with version capability can set the
status of a version, or copy all occurrences of an existing version
and assign them to a new version.
Note that when a version is copied, all occurrences of the existing
version are copied to another version. The owner for each occurrence
will be the same across all versions.
MPE/iX 5.0 Documentation