Dynamically load a DLL from a network share that cannot be viewed on a client PC - WCF?

I am archiving the WPF application using the PnP Composite Application Guide. The application will run locally within our intranet.

Modules will load dynamically based on user roles. Therefore, the modules must be available for the application through a network resource, thus accessible from client machines.

What I would like to do is to keep all .dll modules out of the reach of staff, but still be able to provide them to the composite application when it is required, and when the current user is authenticated to use this module.

My idea is to download the DLL files, stream them from the WCF service, where the WCF service (on the server) can access the .dll repository, but none of the client machines have access to it. Authentication will also be handled by the service.

I suspect that perhaps I am somehow embarrassed.

Is this something that can be done with a simple file system configuration and software credential transfer when accessing a shared folder? If I do this, will access be granted only to the calling application or will the user to whom you are logging in now be able to navigate to the shared folder?

Is this, in any case, a solvable problem with MEF or any other project that you know about? (I hope this is not LMGTFY-worthy - I could not come up with anything.)

+3
2

, :

dll , , - ( , )?

+1

Argonne DLL ( .INI, PBD PowerBuilder, ..) , / . , (Oracle Client, PowerBuilder, Java, Microsoft, ODBC ..) , . ; Oracle, , , 650+ . Oracle 17 .

" " - , , (f.ex. ORACLE_HOME: \<server name>\ORACLE\v10\Ora10g).

, 10 , 2000 . . ( " DLL " ..), , .

, . (Citrix ) , , , , : " ".

+3

Source: https://habr.com/ru/post/1730417/


All Articles