Enabling Access Checks for an Application
Performing this step enables either process access checks or full role-based security, depending on what security level you select and whether you enable access checking for individual components.
To enable access checks for an application
In the console tree of the Component Services administrative tool, right-click the COM+ application for which you want to enable access checks, and then click Properties.
In the application properties dialog box, click the Security tab.
Select the Enforce access checks for this application check box.
Note As of Windows Server 2003, access checks are enabled by default when creating a COM+ application. Access checks are enabled by default at the application level and disabled by default at the component level. Previously, access checks were disabled by default at the application level and enabled by default at the component level.
After enabling access checks, you should select the appropriate security level. See Setting a Security Level for Access Checks. Also, you must be sure to define roles and add them to the application. If access checks are enabled but no roles have been added, all calls to the application will fail. See Defining Roles for an Application.
Note When debugging your application, it might be helpful to disable security so that you can concentrate on other aspects of your program's behavior and design.
- Assigning Roles to Components, Interfaces, or Methods
- Configuring Role-Based Security
- Defining Roles for an Application
- Enabling Access Checks at the Component Level
- Setting a Security Level for Access Checks