![]() |
| > Home > Documentation > Latest documentation > Global config directives > SafeTrap |
|
SafeTrapSets the opcodes that will be trapped (disabled) in the
Safe Synopsis
The default is ":base_io". ScopeThis directive is only available for use in the global (interchange.cfg) configuration file, and will affect all websites running under the Interchange installation. It will not work in a website's local (catalog.cfg) configuration file. DescriptionThis directive allows you to set opcodes that will be "trapped" (disabled) by the
Safe The default is ":base_io", which disables various filehandle-based input and output operations. You can define declare the directive with no opcodes to not disable anything, but that would be unwise from a security standpoint. See the
Opcode
Example
|
| Home | Legal nonsense | Privacy policy | Contact us |