summaryrefslogtreecommitdiff
path: root/src/runtime/javascript/editorGrammar.js
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-03-03 15:42:57 +0000
committerhallgren <hallgren@chalmers.se>2011-03-03 15:42:57 +0000
commit2c1feccd1736c5535251bc5a7f484b5f2c35b9fc (patch)
tree713b711c03fc573dc35e5e7671658a0179adcd19 /src/runtime/javascript/editorGrammar.js
parentb190d30fad3dba5ff63c4bdeeb089916b9c1e66f (diff)
GF shell restricted mode
By setting the environment variable GF_RESTRICTED before starting GF, the shell will be run in restricted mode. This will prevent the GF shell from starting arbitrary system commands (most uses of System.Cmd.system are blocked) and writing arbitrary files (most commands that use writeFile et al are blocked). Restricted mode is intended minimize the potential security risks involved in allowing public access to the GF shell over the internet. It should be used in conjuction with system level protection mechanisms (e.g. file permissions) to make sure that a publicly acessible GF shell does not give access to parts of the system that should not be publicly accessible.
Diffstat (limited to 'src/runtime/javascript/editorGrammar.js')
0 files changed, 0 insertions, 0 deletions