title: Security risks of setting trustworthy = on in sql server 2012
body: <p>I get the following errors in my development database:</p>
  
  <pre><code>A .NET Framework error occurred during execution of user-defined routine or aggregate "SpCreateTable": 
  System.Security.HostProtectionException: Attempted to perform an operation that was forbidden by the CLR host.
  
  The protected resources (only available with full trust) were: All
  The demanded resources were: Synchronization, ExternalThreading
  </code></pre>
  
  <p>Is the correct solution to set trustworthy = on? What are security concerns with this?</p>