Official security guidance for loading plugins

Jun 9, 2011 at 2:01 PM

Is there any official guidance on how to secure the loading of plugins? Specifically, how to prevent code injection attacks that make a program load malicious assemblies.