Define SQL Server Application Roles

A role uses Windows security accounts to limit the scope of access and permissions when users access the database. An application role allows access to specific data to only those users that connect through a particular application. Application roles contain no members and are inactive by default. Application roles work with both authentication modes. Access to other databases is limited to permissions granted in those databases to Guest. A database in which Guest has been disabled cannot be accessed by application roles in other databases.

Use the SQL Server Application Role Editor to define application role objects in a physical model.

To define SQL Server application roles

  1. Click Principals, Application Roles on the Database menu.

    The SQL Server Application Role Editor opens.

  2. Select the application role in the Navigation Grid that you want to define and work with the following options:

    Note: Click New <New> icon in property editors on the toolbar to create a new application role.

  3. Click the Permission tab and work with the following options:

    Note: Click New <New> icon in property editors on the toolbar to create a new permission.

  4. (Optional) Click the Comment tab and enter any comments that you want to associate with the application role.
  5. (Optional) Click the UDP tab to work with user-defined properties for the application role.
  6. Click Close.

    The application role is defined and the SQL Server Application Role Editor closes.

More information:

SQL Server Physical Property Editors

Define Permissions for an Object in a SQL Server Property Editor

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor


Copyright © 2009 CA. All rights reserved. Email CA about this topic