Property reference

glide.db.allow_unsafe_dbi_execute_sql

Disables raw SQL queries that can bypass GlideRecord restrictions and access database tables directly. With the recommended value of false, Glide Scriptable code cannot call dbi.executeStatement() to run raw SQL statements.

Default
Not stated
Type
Not stated
Application
Not stated

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? This property controls whether raw SQL queries can be executed, which can expose sensitive data if not properly restricted.
What area does it affect? Database access control
What does the default mean? No default value is stated in the ServiceNow documentation.
When should you review it? Review this property during security audits or when configuring database access permissions.

Property record

Facts stated in the ServiceNow documentation. No out of the box record has been read from an instance yet.

Property name glide.db.allow_unsafe_dbi_execute_sql
Type Not stated
Application Not stated
Default value Not stated
Description Not stated

Sources

Official references and nearby text excerpts where this property appears.

Context preview Snippet 1
... Requirements • New description: This property allows a user to perform raw SQL queries on the database which can give access to tables and data outside of GlideRecord restrictions. If glide.db.allow_unsafe_dbi_execute_sql is not set to the recommended value of false, then this allows calling dbi.executeStatement() from a Glide Scriptable. • Old description: This property allows a user to perform raw SQL ...

More in glide.db

Other properties in the same namespace.

All 82 properties in glide.db →