I\'d like to create a plug-in architecture where I can limit an assemblies API to something very restricted, i.e. only allow a whitelist of functions. Is it possible to res
It should be possible with Code Access Security.
I found this article.
http://www.15seconds.com/Issue/040121.htm
AppDomain Policy Level would be yours
EDIT: It's quite complicated to provide a sample code. But MSDN should give you some good hints: http://msdn.microsoft.com/en-us/library/yctbsyf4(VS.71).aspx