Secure data
Summarize
Summary of Secure Data
Data security is crucial in application development on the ServiceNow platform. It involves configuring access controls to protect sensitive information effectively. During table creation, ServiceNow automatically sets access controls based on user roles, ensuring only authorized users can interact with the data.
Show less
Key Features
- Access Control Rules: Developers should understand how these rules operate and the evaluation order. Multiple access controls create an Access Control List (ACL).
- Comprehensive Security: Protect tables, UI pages, and property pages with appropriate access controls. Limit the use of GlideRecord queries in access control scripts to maintain performance.
- Before-Query Business Rules: Use these to manage read access before database queries, but only when necessary. They do not replace ACLs.
- Encryption: Implement various encryption solutions at different tiers (application, database, and hardware) to enhance data protection.
Key Outcomes
By configuring access controls effectively, developers can ensure that only necessary users access specific tables, thereby enhancing data security. Security configurations should be prioritized early in the application development process to avoid rework. Failure to set adequate security measures may lead to exposure of sensitive data and compliance issues.
Data security is one of the most important and overlooked aspects of creating an application. ServiceNow automatically configures access control for a new or selected role during the table creation process. Only users with the role can access the table to read, create, write, and delete.
Use access control rules to configure table and column-level security in the ServiceNow AI Platform. To properly configure access to an application, developers should understand how access controls work and the order in which access controls are evaluated. Apply multiple access controls that together make an Access Control List (ACL).
Self-Paced Training: Securing Applications
Documentation: Access control list rules
- Protect tables, UI pages, property pages, and other content with the appropriate access controls and roles.
- Limit the use of GlideRecord queries in access control scripts. GlideRecord queries can affect performance.
Alternately, secure data on the ServiceNow AI Platform with before-query Business Rules. Before-query Business Rules run before the database query and are limited to controlling read access to a record. Only use before-query Business Rules when necessary. Some considerations when deciding to use Access Controls or before-query Business Rules:
- GlideRecord queries will bypass read access controls on a table and will be restricted by before-query Business Rules on a table.
- When access controls restrict read access to records in a list, ServiceNow shows a message saying that access has been restricted for the records. With before-query Business Rules, the number of records in the list total matches the number of records shown to the user. The user receives no indication that some records have been hidden from the list.