Peter Meinl [mailto:[EMAIL PROTECTED]] wrote:

> We want to ensure that our DLLs on client PCs can only be
> called by our EXE.

Mark your assemblies with the StrongNameIdentityPermissionAttribute using
SecurityAction.LinkDemand and your public key. Then just sign your EXE(s)
with the same key. As long as your private key doesn't get into the wrong
hands, no one else will be able to execute the assemblies.

HTH,
Drew

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to