Safe mode: Difference between revisions
Content added Content deleted
(Added C3) |
(→J: add) |
||
Line 92: | Line 92: | ||
'cgo' is Go's bridge to using C code. As such it is just as unsafe as writing C code directly. |
'cgo' is Go's bridge to using C code. As such it is just as unsafe as writing C code directly. |
||
=={{header| |
=={{header|J}}== |
||
The ''security level'' (default: 0) can be increased to 1 by executing: |
|||
<syntaxhighlight lang="j">(9!:25) 1</syntaxhighlight> |
|||
Afterwards, all verbs able to alter the environment outside J are prohibited. See the [https://code.jsoftware.com/wiki/Vocabulary/ErrorMessages#security J Community Wiki] for details regarding the restrictions. |
|||
=={{header|Jsish}}== |
|||
The '''jsish''' interpreter allows a '''-s''', '''--safe''' command line switch to restrict access to the file system. |
The '''jsish''' interpreter allows a '''-s''', '''--safe''' command line switch to restrict access to the file system. |
||