Part of twisted.spread.jelly View Source View In Hierarchy
| Method | __init__ | SecurityOptions() initialize. |
| Method | allowBasicTypes | Allow all `basic' types. (Dictionary and list. Int, string, and float |
| Method | allowTypes | SecurityOptions.allowTypes(typeString): Allow a particular type, by its |
| Method | allowInstancesOf | SecurityOptions.allowInstances(klass, klass, ...): allow instances |
| Method | allowModules | SecurityOptions.allowModules(module, module, ...): allow modules by |
| Method | isModuleAllowed | SecurityOptions.isModuleAllowed(moduleName) -> boolean |
| Method | isClassAllowed | SecurityOptions.isClassAllowed(class) -> boolean |
| Method | isTypeAllowed | SecurityOptions.isTypeAllowed(typeName) -> boolean |
This will also allow the 'instance', 'class' (renamed 'classobj' in Python 2.3), and 'module' types, as well as basic types.