<style> .text-span-6 { background-image: linear-gradient(99deg, rgba(170, 163, 239, .5), rgba(125, 203, 207, .5)); border-radius: 50px; padding-left: 15px; padding-right: 15px; } #title-text { display: none; } .panelgradient { background-image: linear-gradient(180deg, #d5def0, whitesmoke); border-radius: 8px; flex-direction: column; justify-content: center; align-items: center; padding: 4rem; display: flex; position: relative; } </style> <div class ="panelgradient"> <h1 style="text-align: center;">Security <br> (Users, Roles, and AD/LDAP)</h1> </div> |
The Security module ensures the safety and integrity of your projects.
You can
On this page:
The Security module's purpose is to ensure secure data exchange between the platform and external databases. The concepts of Users, Permissions, Policies, and Runtime Users ease the Security module's understanding.
UsersAnyone accessing the project, either in engineering or runtime mode. |
PermissionsPermissions are set levels of access for each user that determine what they can/ cannot do within the software. |
PoliciesPolicies manage requirements on User Identification and Session control. |
RuntimeUsersThese users are created and retrieved from an external encrypted SQL database or other identification servers. |
Managing user roles in FactoryStudio involves assigning a role to each user that defines their level of access to various components of the project. Each role has its permissions, which can be customized to meet the security requirements of your organization.
External Users in FactoryStudio refers to users who are not part of the organization but need access to specific components of the project. This can include contractors, clients, or third-party vendors. These users are typically managed via RuntimeUsers or integration with Active Directory and LDAP.
FactoryStudio provides several tools to secure project settings. By assigning Permissions and Policies, administrators can control which users have access to specific project settings and features. This ensures that only authorized users can make changes to critical project settings.
Securing runtime involves managing user sessions in client displays by setting password requirements, session restrictions, and e-signature settings. FactoryStudio also allows administrators to monitor client connections and manage active sessions.
Each user is assigned to a security group defined in Permissions and a session policy configured in the Policies.
Permissions define the level of access users have for project configuration and client displays.
Policies, on the other hand, focus on managing user sessions in client displays, either WPF or HTML5, by setting password requirements, session restrictions, and e-signature settings.
Security module configuration workflow | |
---|---|
Action | Where |
Edit Users | Security → Users |
Define security Permissions | Security → Permissions |
Define security Policies | Security → Policies |
Manage RuntimeUsers | Security → RuntimeUsers |
RuntimeUsers are a separate group of users who are either defined in an external database or created dynamically using the CreateUser method, and they can log in and similarly utilize remote operation displays to the users specified in the Project configuration. See RuntimeUsers properties to explore the properties in detail.
Instead of validating the Users again, the credentials in the Project configuration and the identification of the User connection can be automatically executed using our native Windows Active Directory integration. This functionality in only available for the Users connecting from Windows operating systems. For more information, see Windows AD / LDAP Server.
When the integration with Windows AD is not available, it is still possible for an automated identification using the business server to define an LDAP server to be used by the project. For more information, Windows AD / LDAP Server.
For in-depth security runtime understanding, please explore the Security Runtime Execution.
The Monitoring Client Connections empowers you to track and manage active connections. This functionality enables efficient troubleshooting and resource allocation for your project's needs. Please refer to the Monitoring Client Connections for a comprehensive client connections understanding.
The Custom Login Procedures enables you to modify the login page, fine-tune user validation, and incorporate custom logic into the client startup process. This allows for a tailored login experience that suits your project's specific requirements. For a deeper understanding of how to customize login procedures and to examine detailed examples, please consult the Customizing Login Procedures.
The User Management on Displays and Scripts enables you to regulate user access and interactions within displays and scripts, promoting a secure and efficient work environment. To acquire an in-depth understanding of user management on displays and scripts, please consult the Managing Users on Displays and Scripts.
The Security module may encounter some issues in its operation. Here are some common issues and their solutions:
User cannot log in
Permission denied error
To ensure the smooth operation of the Security module, follow these best practices:
Regularly update your user list and their associated permissions. This helps maintain security by ensuring that only authorized individuals have access to your system.
Enforce strong password policies to enhance security.
Keep your system up-to-date with patches and updates.
The Security namespace has all the runtime information regarding the security system.
The Client
object has information about the current user logged at that client station:
Examples | |
---|---|
Client.Username | The property is the name of current logged user. |
Client.CurrentUser | Reference to a data structure with all the information of the currently logged-in user. |
To learn about the basic concepts of namespaces and objects, you can refer to Objects and Namespaces.
In this section: