Examples of application right definitions

This section contains these examples of how to use the Definition Settings dialog to specify an application right definition:

Example 1: Manually specify one application path and file name

In this example, it is assumed that you want to create an application right to run the Access Manager console application, and you know the path and file name of the application executable file.

  1. Open the Definition Settings dialog and fill it in as follows:

    Description—Type a name of your choice (for example, Default Access Manager Console Application).

    Path—Select this check box.

    Name—Type the application name; in this case Centrifydc.msc.

    Arguments—Select this check box and specify which arguments can be executed through this application right.

    Specific path—Select this option and type the full path name to the Centrifydc.msc executable file:

    C:\Program Files\Centrify\Access Manager

  2. Click OK to save the application right definition setting.

Example 2: Manually specify one application residing in two locations

In this example, it is assumed that you want to create an application right to run SQL Server Management Studio on Windows 2008 and Windows 2012 systems. The SQL Server Management Studio executable file resides in different locations in those operating systems, and you know the paths those locations.

  1. Open the Definition Settings dialog and fill it in as follows:

    Description—Type a name of your choice (for example, SQL Server Management Studio 2008/2012).

    Path—Select this check box.

    Name—Type the application name; in this case Ssms.exe.

    Arguments—Optionally select this check box and specify which arguments can be executed through this application right.

    Specific path—Select this option and type the full path names to the Ssms.exe executable file in Windows 2008 and Windows 2012. Separate the path names with a semicolon:

    C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\ManagementStudio

  2. Click OK to save the application right definition setting.

Example 3: Specify one application by importing its location

This example is similar to Example 1; it is assumed that you want to create an application right to run the Access Manager console application. Unlike in Example 1, you are not sure of the path name to the application executable file and you will navigate to it rather than type it in the form.

  1. Open the Definition Settings dialog.
  2. Click Import File.
  3. Navigate to the Centrifydc.msc executable file, highlight it, and click Open.
  4. Verify that the Definition Settings dialog fills in with application information.
  5. In the Description field, type a name of your choice (for example, Default Access Manager Console Application).
  6. Click OK to save the application right definition setting.

Example 4: Specify several applications by importing and specifying search criteria

This example is similar to Example 2; it is assumed that you want to create an application right to run SQL Server Management Studio on more than one version of the Windows operating system, starting with Windows 2008. Unlike in Example 2, you do not want to constrain the latest version of Windows to Windows 2012. Instead, you want to account for future versions of Windows and provide the capability to run SQL Server Management Studio on future Windows releases.

  1. Open the Definition Settings dialog on a Windows 2008 system.
  2. Click Import File.
  3. Navigate to the Ssms.exe executable file, highlight it, and click Open.

    The Definition Settings dialog fills in with information from the Windows 2008 version of Ssms.exe.

  4. Deselect the Path option so that the definition is not constrained just to that location.

  5. Select the File Description option and keep the default operator and string.

  6. Select the Product Version option and change the operator from equal to later or equal.

    The definition is now configured to include all .exe files having a file description tag of SSMS - SQL Server Management Studio and a product version later than or equal to the version that is installed on this Windows 2008 system.

  7. In the Description field, either keep the string that was imported with the Ssms.exe file or type a description of your choice.

  8. Click OK to save the application right definition setting.