In an old project I came across the following assembly attribute:
[assembly: SecurityPermissionAttribute(SecurityAction.RequestMinimum, Execution = true)]
I understand that this attribute instructs the clr to not load this dll if the required permissions aren't available. Is it a good practice to include such declarations in your project as a default?