DECRYPT.FILE

DECRYPT.FILE

Top  Previous  Next

 

The DECRYPT.FILE command removes data encryption for specific fields or the entire record.

 

 

Format

 

DECRYPT.FILE filename

DECRYPT.FILE filename field ...

DECRYPT.FILE filename ALL

 

where

 

filenameis the name of the file in which encryption is to be cancelled.

 

fieldis the name or field number of the field for which encryption is to be cancelled.

 

 

The first form of the DECRYPT.FILE command removes record level data encryption.

 

The second form of the DECRYPT.FILE command removes field level data encryption for the specified field. Multiple fields may be referenced in a single command.

 

The third form of the DECRYPT.FILE command removes field level data encryption for all fields.

 

If the file contains data records when this command is used, the file is processed to remove the encryption. A system failure or other process abort during this update will leave the file in a partially encrypted state and hence render it unusable. Always back up a file before using this command if the file contains data.

 

For security reasons, the user executing this command must have access to all data fields that will be affected. The command also prompts for the master key and is therefore usually restricted to use by the security administrator.

 

 

Examples

 

DECRYPT.FILE CUSTOMERS CCARD

 

The above command removes data encryption from the CCARD field of the CUSTOMERS file.

 

 

DECRYPT.FILE CUSTOMERS

 

The above command removes record level encryption from the CUSTOMERS.

 

 

See also:

Data encryption, CHANGE.KEY.PASSWORD, CREATE.FILE, CREATE.KEY, CREATE.SECURE.KEY, DECRYPT.FILE, DELETE.KEY, DISABLE.KEY, DISABLE.KEY (QMBasic), ENABLE.KEY, ENCRYPT.FILE, ENABLE.KEY (QMBasic), GRANT.KEY, LIST.KEYS, RESET.MASTER.KEY, REVOKE.KEY, SET.ENCRYPTION.KEY.NAME, UNLOCK.KEY.VAULT