title: Dynamically load .dlls from network share not browsable on client PC -- WCF?
body: <p>I'm architecting a WPF application using the PnP Composite Application Guidance. The application will be run locally, within our intranet.</p>
  
  <p>Modules will be loaded dynamically based on user roles. The modules must therefore be accessible to the application through a network share, thus accessible from the client machines.</p>
  
  <p>What I'd like to do is keep all the module .dlls in a location not accessible to staff, but still be able to provide them to the composite application when demanded and when the current user is authenticated to use that module.</p>
  
  <p>My thought is to load the .dlls by streaming them down from a WCF service, where the WCF service (on the server) can access the .dll repository, but none of the client machines can access it. Authentication would also be handled by the service.</p>
  
  <p>I suspect that I might be overcomplicating things somehow.</p>
  
  <p>Is this something that can be done with a simple filesystem configuration and programmatically passing credentials when accessing the shared folder? If I do this, would access only be granted to the calling application, or would the logged-on user now be able to navigate to the shared folder?</p>
  
  <p>Is this, in any way, a solved problem with MEF or any other project of which you're aware? <em>(I hope this isn't LMGTFY-worthy -- I haven't been able to come up with anything.)</em></p>