title: XBAP - Can I grant full trust only for specific methods?
body: <p>I'm considering using XBAP for an intranet application and I'd like to avoid setting the entire application to Full Trust.</p>
  
  <p>Essentially, I have a few method calls that I'll need to make that will require Full Trust (e.g. DriveInfo.GetDrives), but I want to run the rest of the app in partial trust because it doesn't need full trust for 99% of the app.</p>
  
  <p>Is there a way to have full trust on specific method calls and/or to break out the pieces that need full trust permission into a different assembly so I can keep the bulk of the app at partial trust?</p>
  
  <p>Thanks!</p>