Highline College

Connect with Highline College

Winter quarter starts January 6. View the class schedule and enroll today for the best selection of classes.

3.1 Database Credentials Standard

Home/IT Security/IT Security Policy/3.1 Database Credentials Standard
3.1 Database Credentials Standard 2024-03-25T12:18:24+00:00

3.1 Database Credentials Standard

 

3.1.1. Overview

Database authentication credentials are a necessary part of authorizing application to connect to internal databases.  However, incorrect use, storage and transmission of such credentials could lead to compromise of very sensitive assets and be a springboard to wider compromise within the organization.

 

3.1.2. Purpose

This standard states the requirements for securely storing and retrieving database usernames and passwords (database credentials) for use by a program that will access a database running on one of Highline College’s networks.

Software applications running on Highline College’s networks may require access to one of the many internal database servers. In order to access these databases, a program must authenticate to the database by presenting acceptable credentials.  If the credentials are improperly stored, the credentials may be compromised leading to a compromise of the database.

 

3.1.3. Scope

This standard is directed at all system implementer and/or software engineers who may be coding applications that will access a production database server on the Highline College Network. This standard applies to all software (programs, modules, libraries or APIs that will access a Highline College, multi-user production database. It is recommended that similar requirements be in place for non-production servers and lap environments since they don’t always use sanitized information.

 

3.1.4. Standard

3.1.4.1 General

In order to maintain the security of Highline College’s internal databases, access by software programs must be granted only after authentication with credentials. The credentials used for this authentication must not reside in the main, executing body of the program’s source code in clear text. Database credentials must not be stored in a location that can be accessed through a web server.

3.1.4.2 Storage of Database Usernames and Passwords

  • Database usernames and passwords may be stored in a file separate from the executing body of the program’s code. This file must not be world readable or writeable.
  • Database credentials may reside on the database server. In this case, a hash function number identifying the credentials may be stored in the executing body of the program’s code.
  • Database credentials may be stored as part of an authentication server (i.e., an entitlement directory), such as an LDAP server used for user authentication. Database authentication may occur on behalf of a program as part of the user authentication process at the authentication server. In this case, there is no need for programmatic use of database credentials.
  • Database credentials may not reside in the document tree of a web server.
  • Passwords or pass-phrases used to access a database must adhere to the Password Policy.

3.1.4.3 Retrieval of Database Usernames and Passwords

  • If stored in a file that is not source code, then database usernames and passwords must be read from the file immediately prior to use. Immediately following database authentication, the memory containing the username and password must be released or cleared.
  • The scope into which you may store database credentials must be physically separated from the other areas of your code, e.g., the credentials must be in a separate source file. The file that contains the credentials must contain no other code but the credentials (i.e., the username and password) and any functions, routines, or methods that will be used to access the credentials.
  • For languages that execute from source code, the credentials’ source file must not reside in the same browseable or executable file directory tree in which the executing body of code resides.

3.1.4.4 Access to Database Usernames and Passwords

  • Every program or every collection of programs implementing a single business function must have unique database credentials. Sharing of credentials between programs is not allowed.
  • Database passwords used by programs are system-level passwords as defined by the Password Policy.
  • Developer groups must have a process in place to ensure that database passwords are controlled and changed in accordance with the Password Standard. This process must include a method for restricting knowledge of database passwords to a need-to-know basis.

 

3.1.5. Compliance

3.1.5.1 Compliance Measurement

ITS will verify compliance to this standard through various methods, including but not limited to, periodic walk-thrus, video monitoring, business tool reports, internal and external audits, and feedback to the standard owner.

3.1.5.2 Exceptions

Any exception to the standard must be approved by ITS in advance.

3.1.5.3 Non-Compliance

An employee found to have violated this standard may be subject to disciplinary action, up to and including termination of employment.

 

3.1.6. Related Standards, Policies, and Processes

1.5 Password Standard

 

3.1.7. Revision History

Date By Summary