Wednesday, September 8, 2010

CGISecurityString

CGISecurityString=anystring
This variable has no effect on the WhizBase when it is installed as a scripting engine. It contains the administrator-defined case-sensitive string that must match the beginning of the file used to activate the WhizBase in the CGI mode. It is used when for some reason it is not suitable to use ActivateCGIByExt. There is no default value for this variable.

Example of use:

CGISecurityString variable is used in Server configuration section, a configuration is set for all aliases of a single virtual host.
[wbsp.com]
DisableWB=F
AbsolutePath=On
Upload=On
FileCommands=On
Execute=JavaScript,VBScript,JScript
HiddenEnvVars=PATH,COMP*,System*
TimeOutSec=20
DefaultDocument=index.wbsp
ADOConnectionString=T
ActivateCGIByExt=wbsp
CGISecurityString=LhBv3KP
MaxInstances=0
HideDocuments=sr,aut,inc,ic,mdb
ScriptTimeOutSec=60
And in every WBSP file:
CGISecurityString=LnTW34FxD

Valid WBSP file:
LnTW34FxD
[FormFields]
wb_command=...

Invalid WBSP file:
[FormFields]
wb_command=...
 

No comments:

Post a Comment