dbfhide Database Administration Utility

The dbfhide utility is a file hiding utility you use to add simple encryption to configuration files and initialization files to hide the contents of each file.

Syntax

dbfhide original-configuration-file encrypted-configuration-file

Parameters

This table lists the available options for the dbfhide utility.

Option

Description

original-configuration-file

Name of the original file.

encrypted-configuration-file

Name for the new obfuscated file.

Usage

Configuration files are used by some utilities to hold command-line options. These options can contain a password. You can use the dbfhide utility to add simple encryption to configuration files and .ini files used by Sybase IQ and its utilities, and thereby obfuscate the contents of the file. The original file is not modified. Once you add simple encryption to a file, there is no way to remove it. To change an obfuscated file, keep a copy of the original file that you can modify and obfuscate again.

Examples

Create a configuration file that starts the personal database server and the sample database. The file should set a cache of 10MB, and name this instance of the personal server “Elora”. The configuration file would be written as follows:

# Configuration file for server Elora -n Elora -c 10M path\asademo.db

Lines beginning with # are treated as comments.

Name the file sample.txt. To start the database using this configuration file, enter:

start_iq @sample.txt

Add simple encryption to the configuration.

dbfhide sample.txt encrypted_sample.txt

Use the encrypted_sample.txt file to start a database:

start_iq @encrypted_sample.txt

For more information about using configuration files, see the Installation and Configuration Guide.

The following command adds simple encryption to the asaldap.ini file:

dbfhide asaldap.ini encrypted_asaldap.ini
Related reference
dbbackup Database Administration Utility