User Tools

Site Tools


owner_declare_password_for_data_encryption_.htm
Navigation:  Language Reference > 5 - Declaration Attributes > Variable and Entity Attributes >====== OWNER (declare password for data encryption) ====== Previous pageReturn to chapter overviewNext page

OWNER(password)

blk2blue.jpg

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

owner_declare_password_for_data_encryption_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)