FOCEXEC Security

In this section:

Most data security issues are best handled by WebFOCUS DBA exit routines. For more information about WebFOCUS DBA exit routines see the WebFOCUS Security and Administration manual. You can also encrypt and decrypt FOCEXECs.


Top of page

x
Encrypting and Decrypting a FOCEXEC

How to:

Keep the actual text of a stored FOCEXEC confidential while allowing users to execute the FOCEXEC. You do this either because there is confidential information stored in the FOCEXEC or because you do not want the FOCEXEC changed by unauthorized users. You can protect a stored FOCEXEC from unauthorized users with the ENCRYPT command.

Any user can execute an encrypted FOCEXEC, but you must decrypt the FOCEXEC to view it. Only a user with the encrypting password can decrypt the FOCEXEC.

The password selected by a user to ENCRYPT or DECRYPT a FOCEXEC is not viewable by any editor and it is unrelated to the DBA passwords of the files being used.



x
Syntax: How to Encrypt and Decrypt a FOCEXEC

You use the following procedure to encrypt the FOCEXEC named SALERPT:

SET PASS = DOHIDE
ENCRYPT FILE SALERPT FOCEXEC

You use the following procedure to decrypt the FOCEXEC named SALERPT:

SET PASS = DOHIDE
DECRYPT FILE SALERPT FOCEXEC

WebFOCUS