I want to execute clojure functions from a text file and I want to limit subset of available functions due to security reasons. What is the best way to do that?
You can use Raynes/clojail library which provides features you are requesting and is used to run Try Clojure and IRC bot - lazybot.