Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Configuring Security Settings for Shared Variables (DSC Module)

You can configure security settings for an individual shared variable or for multiple shared variables at one time. You can grant or deny access to shared variables for users, groups, and machines. By default, the access rights are unspecified.

Note  If you leave a permission unspecified, the access for that permission is denied by default. If you leave a permission for a group unspecified, you can grant a specific user in that group access to the permission. However, if a permission for a group is set to deny, you cannot grant any users in that group access to the permission.

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 the Security option in the listbox of the Shared Variable Properties dialog box to display the Security page.
  3. Place a checkmark in the Enable Security checkbox.
  4. Click the Add button to display the Add New Host/User dialog box. You can use this dialog box to select a user, group, or host machine for which you want to configure access rights.
  5. Select a user or group from the Users and groups list, or enter the computer or IP address of the machine in the Host text box.
  6. Click the OK button to close the Add New Host/User dialog box and return to the Security page of the Shared Variable Properties dialog box.
  7. In the Permissions list, select a permission.
  8. 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.
  9. Click the OK button to close the Properties dialog box.

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

  1. Right-click a project library or the shared variables you want to configure in the Project Explorer window and select Edit Variables 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 drop-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 NI 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 machine 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 machine in the Host text box.
  9. Click the OK button to close the Add New Host/User dialog box and return to the NI 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 NI ACL Configuration dialog box and return to the Multiple Variable Editor dialog box.
  13. Click the Done button to close the Multiple Variable Editor dialog box.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit