|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Code Access Security in a SevicedComponent?Hi,
is there any chance to allow only certain assemblies access to a ServicedComponent? The component is activated in a COM+ server application. Role-based security is not an option because I don't want to restrict access on the user level but on the code level. I already tried to call Assembly.GetCallingAssembly to check the public key of the caller. But this returns the calling assembly only if the component is hosted in a library application. In case of a server application there is always the assembly of the component itself returned. Are there any other possibilities? Thanks, Torsten |
|||||||||||||||||||||||