Skip to main content

8. Security

A Directory can be an important component in the overall provision of security in a distributed system environment, especially when public-key cryptographic technology is employed. The directory can serve as a repository for authentication information, which, in turn, forms the basis of a number of OSI Authentication Services (e.g., X.400) and non-OSI Services (e.g., privacy-enhanced mail, PEM). The directory may also use this and other stored authentication information to provide a wide range of security Services used by the Directory system itself.

8.1. Directory Provision of Authentication​

The directory will be used to provide X.509 strong authentication. This places minimal requirements on the directory. To use this infrastructure, users of authentication services must have access to the directory. In practice, this type of authentication can be deployed only on a limited scale without use of a directory, and so this provision is critical for applications such as Privacy Enhanced Mail [Lin93]. The PEM development is considering issues relating to deploying Certification Authorities, and this discussion is not duplicated here.

PEM defines a key management architecture based on the use of public-key certificates, in support of the message encipherment and authentication procedures defined in [Lin93]. The PEM certificate management design [Ken93] makes use of the authentication framework defined by X.509. In this framework, as adopted by PEM, a "certification authority" representing an organization applies a digital signature to a collection of data consisting of a user's public component, various information that serves to identify the user, and the identity of the organization whose signature is affixed. This establishes a binding between these user credentials, the user's public component and the organization which vouches for this binding. The resulting, signed, data item is called a certificate. The organization identified as the certifying authority for the certificate is the "issuer" of that certificate. The format of the certificate is defined in X.509.

In signing the certificate, the certification authority vouches for the user's identification, in the context specified by the identity of the issuer. Various types of organization may issue certificates, including corporate, educational, professional, or governmental entities. Moreover, these issuers may operate under different certification policies, so that not all certificates may be equally credible (i.e., some certificates may be more trustworthy as accurate identifiers of users, organizations, mailing lists, etc). The PEM certificate management design allows for this diversity of certification policies, while ensuring that any certificate can be traced unambiguously to the policy under which it was issued.

The digital signature is affixed on behalf of that organization and is in a form which can be recognized by all members of the privacy-enhanced electronic mail community. This ability to universally verify any PEM certificate results because the PEM certification design is a singly rooted tree, in which the Internet Society acts as the root. Once generated, certificates can be stored in directory servers, transmitted via unsecure message exchanges, or distributed via any other means that make certificates easily accessible to

message originators, without regard for the security of the transmission medium.

8.2. Directory Security​

A number of security services are possible with the directory:

  • Peer Authentication at Bind: Authentication (one or two way) between DUA/DSA and DSA/DSA, established during the bind operation. This authentication may be provided using simple passwords (not recommended), one-way hashed passwords (more secure), or via public key cryptography (most secure). The various authentication options are specified in X.500(88), but most existent implementations implement only simple password authentication.

  • Per-operation Authentication and Integrity: This is usually used to identify the DUA originating an operation to the Directory (e.g., to authenticate prior to data modification). It may also be used to verify the identity of the DSA which provided data in a response to the user. In both examples, the integrity of the data also is ensured through the use of digital signatures. This is specified in X.500(88), but not yet widely implemented.

  • Single Entry Access Control: This is used to control which users (DUAs) can access and modify data within an entry. This is specified in X.500(92) and most DSA implementations provide this function.

  • Multiple Entry Access Control: This is used to control search and list operations, in order to allow location of information by searching, but to deter "trawling" of information and organizational structure. Usually, these access controls are limited in their ability to prevent trawling because of the conflicting goal of allowing a certain level of legitimate browsing in support of "white pages" functionality.

  • Service Authorization: This allows DSAs to control service in a data independent manner, based on peer authentication. For example, one might prevent students from making non-local queries, while permitting such queries by faculty and staff.

  • Security Policy: This term encompasses the security goals for which data access control, service authorization, and authentication mechanisms are used to implement. For example, a local security policy might require that all directory database modifications employ strong authentication and originate from a computer at a known (local) location.

  • Data Confidentiality: The directory does not include explicit features to protect the confidentiality of data while in transit (e.g., between a DUA and DSA or between DSAs). Instead, it is assured that lower layer security protocols or other local security facilities will be employed to provide this security service. Ongoing work on adaptation of the Network Layer Security Protocol (NLSP) is a candidate for provision of this security service with directories.

There is no specification of any Internet-wide security policy for directories, nor are there currently any security mechanisms required of all directories. Deployment of a directory could be based on a variety of policies:

  • Read only system, containing only public data and restricted to local modification.

  • Use of X.509 authentication, and private access control mechanisms (this will not allow open access control management, but this is not seen as a fundamental problem).

It will be important to understand if global Internet requirements for minimum essential directory security mechanisms will be required to promote widespread use of directories. We recommend that an informational RFC be written to analyze this issue, with an operational policy guidelines or applicability statement RFC to follow.