The safe-plugins package

[Tags:bsd3, library]

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.

Properties

Versions 0.1
Dependencies base (>=3 && <=5), directory, filepath, haskell-src-exts, plugins, Unixutils [details]
License BSD3
Author IlyaPortnov
Maintainer portnov84@rambler.ru
Stability Unknown
Category System
Uploaded Thu Dec 2 16:35:36 UTC 2010 by IlyaPortnov
Distributions NixOS:0.1
Downloads 253 total (5 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees