Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

File-Specific Encryption Control

In systems supporting file encryption, control over whether or not to encrypt a file is available on a file-by-file basis.

If file encryption has been enabled by a call to SetEncryption(), an individual file can disable encryption by OR-ing ctNOENCRYP into the x8mode member of the XCREblk structure.

Whether or not SetEncryption() has been called, setting the filkey member of the XCREblk structure to a non-zero value causes the file to be encrypted using the value of the filkey member as the encryption key.