.NET and COM+ Security
COM+ defines its own security mechanisms, mapping the identity of the client process to its own custom roles. The scheme used by .NET is similar, but it is implemented by the common language runtime. The System.EnterpriseServices namespace provides classes and enumerations that allow you to bridge the gap between the two systems. Before we look at how to implement COM+ security from managed code in a serviced component, it is worth reviewing the requirements and models used by .NET and COM+.
Code Access Security Requirements
Despite the fact that you use the .NET Framework Class Library to build serviced components, an application that instantiates a serviced component must be granted the UnmanagedCode privilege. This means ...
Get Microsoft® Visual J#™ .NET (Core Reference) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.