You can configure security settings for an individual shared variable or for multiple shared variables at one time. You can also grant or deny access to shared variables for users, groups, and computers. By default, the access rights are unspecified.
Note If you leave an access unspecified, that access is denied by default. If you leave an access for a group unspecified, you still can grant a user in that group access. However, if you deny a group access, you cannot grant any users in that group access.

To add user or group access for a shared variable, the user or group first must be created in the Domain Account Manager.

Complete the following steps to configure security for a shared variable.

  1. Right-click the shared variable in the Project Explorer window and select Properties from the shortcut menu to display the Shared Variable Properties dialog box.
  2. Select Security to display the Security page.
  3. Place a checkmark in the Enable Security checkbox.
  4. Add users, groups, or hosts for the shared variable.
    • Add users or groups for the shared variable.
      1. Click the Add button and select User/Groups from the pull-down menu to display the Browse for Users/Groups dialog box.
      2. In this dialog box, select the user or group that you want to add. Press the <Ctrl> key and click additional items to select multiple items.
      3. Click the OK button to close this dialog box and add the users and/or groups to the Security page.
    • Add a host for the shared variable.
      1. Click the Add button and select Host from the pull-down menu. A new host appear on the Security page.
      2. Enter the computer name or IP address of the host computer in the User/Group/Host column.
  5. Set permissions for the users, groups, and hosts. Double-click the cells in the Read Access and Write Access columns and select permissions from the pull-down menus. If you want to grant the access, select Grant from the pull-down menu. If you want to deny the access, select Deny from the pull-down menu.
  6. Click the OK button to close the Shared Variable Properties dialog box.

Complete the following steps to configure security for multiple shared variables at a time:

  1. Right-click a LabVIEW project library or the shared variables you want to configure in the Project Explorer window and select Multiple Variable Editor from the shortcut menu to display the Multiple Variable Editor window.
  2. Select all of the cells in the Security:Enable column.
  3. Click a cell in the Security:Enable column and select on from the pull-down list that appears. An additional Security:ACL option appears as a column in the table.
  4. Select all of the cells in the Security:ACL column.
  5. Click a cell in the Security:ACL column to display the Configure button.
  6. Click the Configure button to display the ACL Configuration dialog box.
  7. Click the Add button to display the Add New Host/User dialog box. You can use the dialog box to select a user, group, or host computer for which you want to configure access rights.
  8. Select a user or group from the Users and groups list, or enter the computer or IP address of the computer in the Host text box.
  9. Click the OK button to close the Add New Host/User dialog box and return to the ACL Configuration dialog box.
  10. In the Permissions list, select a permission.
  11. If you want to grant the selected user this permission, place a checkmark in the Grant checkbox. If you want to deny the selected user this permission, place a checkmark in the Deny checkbox.
  12. Click the OK button to close the ACL Configuration dialog box and return to the Multiple Variable Editor window.
  13. Click the Done button to close the Multiple Variable Editor window.