SecurityConfigurationFile


the name of the security configuration file

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

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]
}
Translate this page: