OWNER (declare password for data encryption)

Top  Previous  Next

 

OWNER(password)

OWNER

Specifies a file encryption password.

password

A string constant or variable.

The OWNER attribute (PROP:OWNER) specifies the password which is used by the ENCRYPT attribute to encrypt the data. An "Invalid Data File" error occurs if the password does not match the password that was actually used to encrypt the file.

An OWNER attribute without an accompanying ENCRYPT attribute is allowed by some file systems.

If the file is declared without the THREAD attribute, the variable used with the OWNER attribute should also be declared without the THREAD atttibute.

Example:

Customer FILE,DRIVER('Clarion'),OWNER('abCdeF'),ENCRYPT  !Encrypt data password "abCdeF"

Record    RECORD

Name       STRING(20)

         END

        END

 

See Also:

ENCRYPT

EXTERNAL