ZOC Online Help Topic:

Security Related Notes → Storage of Passwords in the Host Directory

ZOC offers a feature where you can store passwords for hosts in the host directory.

Please note that storing passwords in the host directory without a ZOC master password (see Program Settings → Master Password) does not provide strong protection against a third party who is able to obtain a copy of the host directory file.

The use of a ZOC master password changes this, because in that case an attacker will also need your master password to decode the passwords that are stored in the host directory.

Without a master password the security of the passwords stored in the host directory will depend solely on your ability to prevent third parties from accessing or copying your ZOC configuration folder, especially the file containing the host directory (HostDirectory.zhd).

 

Background: How stored passwords are protected

For hosts where you enter passwords to be stored in the host directory, when saving the host directory, ZOC protects each password against casual observation (e.g., when someone views the file).

Without a master password, this mechanism is statically built into the application. However, someone who obtains a copy of your host directory file may be able to extract the mechanism from ZOC by reverse engineering the application and then use this knowledge to obtain the stored passwords.

If you do use a master password, the encryption key is derived from your master password instead of a key built into the application. An attacker can then no longer obtain the key from ZOC itself, but would have to guess your master password. How well your stored passwords are protected therefore depends mainly on the strength of your master password (long and not easily guessable).

 

Conclusion

If you need strong protection for your stored passwords, use a ZOC master password (see Program Settings → Master Password). Otherwise, avoid storing passwords in ZOC unless the associated hosts are of negligible importance.

Ultimately it is your decision how you use this feature. But you will need to weigh the following factors and balance them against each other according to your own needs and circumstances:

1. The convenience of using a ZOC Master Password
2. The convenience of storing host passwords
3. Your confidence in your ability to protect your ZOC configuration files
4. The risk and potential damage of unauthorized access to the hosts whose passwords are stored in ZOC

 

Note: System administrators can disable this feature in ZOC's Admin.ini file.

 
← Back to Security Related Notes