--- title: Disable raw database query execution \[Updated in Security Center 1.3 and removed in 2.0\] description: Control whether a user can perform raw SQL queries on the database. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-operation-level-access-control-requirements.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Access control, Hardening settings, Platform Security] --- # Disable raw database query execution \[Updated in Security Center 1.3 and removed in 2.0\] Control whether a user can perform raw SQL queries on the database. The **glide.db.allow\_unsafe\_dbi\_execute\_sql** property enables users to perform raw SQL queries on the database, which can give access to tables and data outside of GlideRecord restrictions. If this property is not set to the recommended value of **false**, this allows for the calling of **dbi.executeStatement\(\)** from a Glide Scriptable which can lead to malicious SQL statements being executed. **Warning:** This property is both safe and no db override. ## More information
| Attribute | Description |
|---|---|
| Configuration name | **glide.db.allow\_unsafe\_dbi\_execute\_sql** |
| Configuration type | System Properties \(/sys\_properties\_list.do\) |
| Data type | Boolean |
| Recommended value | false |
| Default value | false |
| Category | [Access control](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-access-control.md) |
| Security risk | - Severity score: 7.2 - CVSS score: High - Security risk details: Not setting this property to **false** enables calling of **dbi.executeStatement\(\)** from a Glide Scriptable. |
| Dependencies and prerequisites | None |
| References | [Access Control Lists \(ACLs\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/access-control/access-control-rules.md) |