Here i'm going to explain about using Code Access Security (CAS) policy configuration for locking down a webpart that make a "this.Page.LoadControl()" call to load a user control. Ø First create a custom web part, in the CreateChildControls() method load