Click to Rate and Give Feedback
MSDN
MSDN Library
COM+ Services
COM+ Security
COM+ Security Tasks
 Enabling Access Checks for an Appli...

  Switch on low bandwidth view
COM+ (Component Services)
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
  1. 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.

  2. In the application properties dialog box, click the Security tab.

  3. Select the Enforce access checks for this application check box.

  4. Click OK.

ms679482.note(en-us,VS.85).gifNote:
As of Windows Server 2003, access checks are enabled by default when creating a COM+ application. In previous versions, access checks were disabled by default at the application level and enabled by default at the component level. In Windows Server 2003, access checks are enabled by default at the application level and disabled 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.

ms679482.note(en-us,VS.85).gifNote:
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.

See Also

Send comments about this topic to Microsoft.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker