Security
Configure the security settings in BoxLang
// These are the security settings for the runtime
"security": {
// All regex patterns are case-insensitive
// A list of regex patterns that will match class paths, and if matched, execution will be disallowed
// This applies to import statements, createObject, new, and class creation
// Ex: "disallowedImports": ["java\\.lang\\.(ProcessBuilder|Reflect", "java\\.io\\.(File|FileWriter)"]
"disallowedImports": [],
// A list of BIF names that will be disallowed from execution
// Ex: "disallowedBifs": ["createObject", "systemExecute"]
"disallowedBifs": [],
// A list of Component names that will be disallowed from execution
// Ex: "disallowedComponents": [ "execute", "http" ]
"disallowedComponents": [],
// This is a boolean flag that determines if the server.system scope will be populated with the
// Java system properties and environment variables. By default this is set to true.
"populateServerSystemScope": true,
// An explicit whitelist of file extensions that are allowed to be uploaded - overrides any values in the disallowedWriteExtensions
"allowedFileOperationExtensions": [],
// The list of file extensions that are not allowed to be uploaded. Also enforced by file relocation operations ( e.g. copy/move )
"disallowedFileOperationExtensions": []
},Allowed File Operation Extensions
Disallowed Imports
Disallowed BIFS
Disallowed Components
Disallowed File Operation Extensions
populateServerSystemScope
Last updated
Was this helpful?
