This is documentation for an earlier version of webMathematica.
View current User Guide (Version 3.3)

SecurityConfigurationFile


the name of the security configuration file
  • SecurityConfigurationFile is a configuration setting that specifies the location of the security configuration file for a kernel pool.
  • The setting is relative to the base of the web application.
A sample setting is shown below. This sets the security file to be the file ComputeSiteSecurity.m found in the WEB-INF directory.
A sample contents for the security file is shown below. This is a very conservative security model, which allows all symbols in Global` context as well as a small number of system symbols.
A sample setting is shown below. This sets the security file to be the file ComputeSiteSecurity.m found in the WEB-INF directory.
<SecurityConfigurationFile>
/WEB-INF/ComputeSiteSecurity.m
</SecurityConfigurationFile>
A sample contents for the security file is shown below. This is a very conservative security model, which allows all symbols in Global` context as well as a small number of system symbols.
{
"AllowedContexts" -> {"Global`"}
,
"AllowedSymbols" ->
HoldComplete[ Plus, Times, Power, HoldComplete]
}