Encrypting WFS Files Using WebFOCUS Commands

How to:

Among the WebFOCUS configuration files are several WebFOCUS Script (WFS) files, which may be protected using the encrypt command. When files are encrypted, they are secure from unauthorized examination. You can decrypt an encrypted file to view it using the ibiweb.exe command.

Note: The ibiweb.exe command can be used only for CGI implementations of the WebFOCUS Client. For implementations running the Servlet, configuration files are encrypted or decrypted using the WebFOCUS Administration Console.


Top of page

x
Syntax: How to Encrypt or Decrypt WFS Files

To encrypt or decrypt .wfs files, issue the following command from the WebFOCUS Client directory

ibiweb.exe {-encrypt|-decrypt} passwordfilename

where:

password

Is the password used to encrypt or decrypt the file.

filename

Is the name of the file you want to encrypt or decrypt.



Example: Encrypting and Decrypting cgivars.wfs

To encrypt cgivars.wfs, issue the following command from the WebFOCUS Client directory:

ibiweb.exe -encrypt mypassword d:\ibi\client\wfc\etc\cgivars.wfs

To decrypt cgivars.wfs, issue the following command from the WebFOCUS Client directory:

ibiweb.exe -decrypt mypassword d:\ibi\client\wfc\etc\cgivars.wfs

WebFOCUS