title: How would I use the SecurityPermissionAttribute correctly?
body: <p>In an old project I came across the following assembly attribute:</p>
  
  <pre><code>[assembly: SecurityPermissionAttribute(SecurityAction.RequestMinimum, Execution = true)]
  </code></pre>
  
  <p>I <a href="http://blogs.msdn.com/shawnfa/archive/2004/08/30/222918.aspx" rel="nofollow noreferrer">understand</a> 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?</p>