I'm trying to use crypt to encrypt some configuration files. Under the hood, crypt uses PGP to do the encryption. The readme states:

In order to decrypt a value, your application will need access to the private key. We recommend putting the private key on the server and protecting it with standard host level security.

What does it mean by protecting it with "standard host level security"? Does this just mean ensuring that file access permissions are restricted?

1 Answer 1


Security is often applied in layers, so that if one layer is compromised the other layers will still provide protection. Host level security refers to the layer of security applicable to hosts - primarily related to the operating system, but also to the BIOS and other systems. Other layers include Network and Application security.

Some examples of the vulnerability categories for hosts are provided here:


where they list:

  1. The computer must be secured physically.
  2. The O.S. most likely needs to support multiple users and manage their authorizations.
  3. The O.S. most likely must manage process authorization in a multi-tasking environment.
  4. Some O.S. provide users remote log-in, which introduces unique vulnerabilities.
  5. The O.S. must manage memory as an asset to be used by processes.
  6. The O.S. must provide a secure file system.
  7. The O.S. often provides for certain forms of security related to traffic to its network interfaces.
  8. The O.S. must manage permissions that are granted to application software.

So host level security is more than just file access permissions, and considers the security of the host overall.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .