Customize - KeePass
Author: Dominik Reichl
Description: KeePass is an open source password manager. Passwords can be stored in highly-encrypted databases, which can be unlocked with one master password or key file.
Keywords: KeePass, Password, Safe, Security, Database, Encryption, Secure, Manager, Open, Source, Free, Code, Key, Master, Disk, Dominik, Reichl

| # Customize KeePass features various options for network administrators to customize the program's appearance and behavior.

- Preliminaries
- Minimum Master Password Requirements
- Specifying UI Element States

## Preliminaries

Most options below are configured by directly editing the `KeePass.config.xml` configuration file. If you're planning to deploy a customized KeePass version, you should fully understand the KeePass configuration system, especially how to enforce some settings and leave others up to users.

Note that KeePass features a rich plugin framework. If there's no item in the XML file to configure what you're thinking about, you might want to write a plugin.

## Minimum Master Password Requirements

You can specify several properties that master passwords must have in order to be accepted (length, estimated quality, ...). See Specifying Minimum Master Password Properties.

## Specifying UI Element States

Several elements of the user interface (UI) can be disabled or hidden. The elements to disable/hide are specified using the `UIFlags` value (in the `UI` node), which can be a bitwise combination of one or more of the following flags:

Flag (Hex) | Flag (Dec) | Description
--- | --- | ---
0x0 | 0 | Don't force any states (default).
0x1 | 1 | Disable 'Tools' -> 'Options' menu item.
0x2 | 2 | Disable 'Tools' -> 'Plugins' menu item.
0x4 | 4 | Disable 'Tools' -> 'Triggers' menu item.
0x8 | 8 | Disable controls to specify after how many days the master key should/must be changed.

For example, if you want to disable the 'Options' and 'Plugins' items in the 'Tools' menu, you'd specify 3 as value for the `UIFlags` node (0x1 + 0x2 = 0x3 = 3).