>I’ll look into that. I’m not familiar with the code access security topic.
CAS assigns security to code (an assembly) based on evidence (zone, strong name, etc). Your code can demand that the calling code have a set of permissions before it executes or throw a security exception.