safe-plugins: A small wrapper over hs-plugins to allow loading safe plugins
This library allows you to load plugins, just as hs-plugins do. But under some circumstances, you do not want to allow plugins to do everything they want. What about plugin which executes `rm -rf /*' ? In Haskell, you can limit plugin's abilities just by not allowing it to import `not safe' modules (System.IO.Unsafe, etc). With this library, you specify a list of modules that plugin should be forced to import (i.e., some plugin API module), and a list of module that you want to allow plugin to import (some `surely safe' modules). Plugin cannot import any other modules. Moreover, you can specify some language extensions, for example, NoImplicitPrelude.
Downloads
- safe-plugins-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1 |
---|---|
Dependencies | base (>=3 && <=5), directory, filepath, haskell-src-exts, plugins, Unixutils [details] |
License | BSD-3-Clause |
Author | IlyaPortnov |
Maintainer | portnov84@rambler.ru |
Category | System |
Uploaded | by IlyaPortnov at 2010-12-02T16:35:36Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1071 total (6 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Successful builds reported [all 1 reports] |