Created
August 25, 2012 21:33
-
-
Save psobot/3471177 to your computer and use it in GitHub Desktop.
Read-only network-free command sandbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Read-only, network-free sandbox | |
;; Mac OS X 10.7+ | |
;; Restricts file writes and network access for any command run like: | |
;; sandbox-exec -f ronf.sb <command> | |
;; Useful for untrusted programs that should only do computation. | |
(version 1) | |
(allow default) | |
(deny file-write*) | |
(deny network*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment