For those that remember our discussions and my code for loading plugins, I am now working on trying to add some safety to these plugins. Basically I am looknig for some information/code to specify what the dll can do and make sure the dll cannot override that. In other words, I want to keep plugins from running executables and keep it from doing other dangerous actions.

Any thoughts, theories, or code ais welcome..