Application Server Security Troubleshooting Essentials Part 2
Application Server Security Troubleshooting Essentials Part 2
Doc Id TN580
Wonderware Application Server Security Troubleshooting Essentials Part 2: Security Classification &
Operational Permissions
LEGACY TECH NOTE #
999
SUMMARY
This Tech Note discusses the relationship between the Security Groups and Attribute Security Classification. In addition, we introduce a utility which unifies the security group information
covered in this Tech Note into a single page and provides Galaxy search functionality as well.
SITUATION
Application Versions
Wonderware Application Server 2012 and later
In a real world Galaxy, there are typically a large amount of AA Objects. Roles and Security Groups functionality provides the ability to efficiently assign/modify users and their
associated security classification on the attributes of AA Objects.
Roles: Generalize users' functional groups, such as Operator, System Engineer, Application Engineer, etc. One Role can be granted permissions to multiple Security Groups.
Security Group: Groups AA Objects together with those that have same set of Operational Permissions.
The following table shows the AA Object Attributes' Security classification specifications and their corresponding Security Groups' Operational permissions.
Security Operational
Perspective
Classification Permission
FreeAccess No privileges are required. Any user can write to an attribute that has this setting
Allows user to change the value of an attribute during On-Scan or Off-Scan modeNote: Deployment needs the Operate Operational
Operate Operate
Permission
Secured Write Requires the logon user to retype password in order to make the changed value go through. Operate
Besides the above Secured Write, you must provide the second user's authentication.
Verified Write Operate, Verify
Note: Two users must have Operate and Verify Operational permissions.
Tune Allows user to write a value to the attribute at the On-Scan or Off-Scan mode. Tune
The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life
Is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.
The following graphic shows Security classifications in the center red frame, and the Operational permissions at the right.
The following section demonstrates usage of Operate, Secured Write and Configure specifications in detail.
Operate
Allows user to change the value of an attribute during On-Scan or Off-Scan mode.
Environment
Setup
The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life
Is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.
Verify
1. Deploy UDO4Test_Operate with Off-Scan and open it with the Object Viewer. The object icon in this example indicates the deployment is in Off-Scan state (Figure 4 below).
2. Change the User to OperA and set the value on UDA_Operate to False (Figure 5 below).
The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life
Is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.
Figure 6: Administrator Cannot Set the UDA_Operate Value: Administrator is not in OperateRole
Summary
Operate Security Classification can set attribute value in both On-Scan and Off-Scan deployments if the user is in the correct Role.
Secured Write
Requires the logon user to type the password in order to make the changed value goes through. The Operate Permission is required.
Environment
Setup 2
Same as the Setup 1 but uncheck Operate Operational permission from GroupSecuredWrite.
Verify 1
1. Deploy UDA4Test_SecuredWrite (AA Object) and open it with Object Viewer.
2. Change the User to OperB_Sec and set the value on UDA_SecuredWrite.
Figure 7: After Clicking the OK Button in the "Enter Username and Password" dialog, the Value of UDA_SecuredWrite Sets to True Successfully
3. Change the User to Administrator and set the value on UDA_SecuredWrite.
Figure 8: The Secured Write Security Classification Denies the Write Request: User Administrator is NOT in SecuredWriteRole
The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life
Is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.
2. Repeat the verification shown in Figure 5 (above). You will see the Write Access Denied Error (Figure 10 below).
Summary
Secured Write Security Classification needs the Operate Operational permission even if the user is in the correct Role.
Configure
Allows the user to write a value to the attribute only at the Off-Scan mode.
Environment
Setup
Verify
1. Open UDO4Test_Configure (AA Object) in the Object Viewer.
2. Change value of UDAConfigure. The Security Error 8017 Error will be returned.
Summary
GRSecurityLayout Utility
This Read-Only Utility provides a quick way to view and search the Galaxy Security Settings on Security Groups with AA Objects and Operational permissions, Roles and Users, within a
single page.
The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life
Is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.
Note: This Utility is developed with Wonderware Galaxy Repository Access (GRAccess) Toolkit. Therefore, like the IDE, running this Utility will consume one Dev_Session_Count License
Feature count which is listed in ArchestrA.lic. The Utility's main functions are as follows:
Galaxy User Oriented Tree-View: Shows each Galaxy user's Runtime Security Relationships.
Figure 14: Wildcard Search Returns Security Group List That Contains All AA Objects Containing the Value
Search the Users and Security Groups that have the given Operational permission.
In Figure 15 (below), we search all the Security Groups that contain the Configure Operational permission and the users in these Security Groups.
The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life
Is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.
In Figure 16 (below), we search all the Security Groups that do not contain the Configure Operational permission and the users in these Security Groups.
The "-" (dash character) in the search criteria means Not Contain.
The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life
Is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.
Figure 18: AA Object, UDO4Test_SecuredWrite's Attribute Names, and Corresponding Security Classification
References
Wonderware Application Server 2012 R2 – IDE.PDF
ATTACHMENTS
The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life
Is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.