I'm using C# as a scripting language (through Reflection), and I've run into a problem. I want users to be able to make their own GUI's through Windows Forms, but I don't want them to be able to access the WebBrowser class because of the potential security risk.
Does anyone know of a way to block access to the WebBrowser class? Or alternatively, allow access to only certain classes (eg. only forms, buttons etc).