PASSPROTECT subcommand (TCM MODEL command)
The PASSPROTECT
subcommand saves an external file, that was
specified on the DATA
keyword of the OUTFILE
subcommand, as an encrypted file. An encrypted file can be opened only by providing
the correct password.
- PASSWORD
- Specifies the password that is required to open this file. Passwords are
limited to 10 characters and are case-sensitive. The specified value must be
enclosed in quotation marks. The keyword
NONE
specifies not to encrypt the file and is the default. - ENCRYPTEDPW
- Specifies whether the password is encrypted.
- NO
- The password is not encrypted. It is treated as plain text. This option is the default.
- YES
- The password is encrypted. Use
ENCRYPTEDPW=YES
only when the password is known to be encrypted. Passwords are always encrypted in pasted syntax.
Creating strong passwords
- Use eight or more characters.
- Include numbers, symbols and even punctuation in your password.
- Avoid sequences
of numbers or characters, such as
"123"
and"abc"
, and avoid repetition, such as"111aaa"
. - Do not create passwords that use personal information such as birthdays or nicknames.
- Periodically change the password.
Note: Encrypted data files and output documents cannot be opened in versions of IBM® SPSS® Statistics prior to version 21. Encrypted syntax files cannot be opened in versions prior to version 22.