murepl icon indicating copy to clipboard operation
murepl copied to clipboard

evaluate clojail / isolation options

Open vilmibm opened this issue 12 years ago • 3 comments

perhaps restricted vs. unrestricted mode.

consider password handling.

at the very least system exit should be disallowed.

vilmibm avatar Oct 05 '13 02:10 vilmibm

clojail is hooray

need to think more carefully about this all (how to affect core data structures from commands namespace and disallowing direct manipulation from the frontend)

vilmibm avatar Oct 16 '13 02:10 vilmibm

path being taken is clojail + a carefully crafted namespace wherein command functions have read-only copies of room data / player data. they return Action records that describe a desired mutation on the game world. A handler verifies these actions outside of the command sandbox.

This way users can still define their own functions as long as they know how to create / return actions.

Down the line a (defcommand) macro will make this much easier.

vilmibm avatar Oct 20 '13 04:10 vilmibm

branch for this is static-commands

vilmibm avatar Oct 20 '13 04:10 vilmibm