--- title: Enforce credential alias usage description: Learn how to secure your credentials from unauthorized use by configuring the MID Server property. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-enforce-credential-alias-usage.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-09-21" reading_time_minutes: 2 breadcrumb: [Access control, Hardening settings, Platform Security] --- # Enforce credential alias usage Learn how to secure your credentials from unauthorized use by configuring the MID Server property. The Management, Instrumentation, and Discovery \(MID\) Server is a Java application that runs as a Windows service or UNIX daemon on your local network. MID Server properties are listed in the \[ecc\_agent\_property\] table. You can access them in your instance by navigating to **MID Server** > **Properties**. Credential aliases allow an administrator to use specific credentials on Discovery schedules. Credential aliases provide more granular control over which credential a Discovery table is allowed to use. To remediate this security vulnerability, set **alias\_filtering\_behavior** to strict to prevent unnecessary exposure of credentials with elevated privileges. See [MID Server properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/r_MIDServerProperties.md) for more details. ## More information
Attribute Description
Configuration name **alias\_filtering\_behavior**
Configuration type MID Server Properties \(/ecc\_agent\_property\_list.do\)
Data type string
Recommended value strict
Default value loose
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: 2 - CVSS score: Low - Security risk details: When this hardening setting is not set to strict, then all credentials are used regardless of their aliases for Discovery tables which increases the chance of unauthorized access.
Dependencies and prerequisites None
References - [MID Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/mid-server-landing.md) - [Credential aliases for Discovery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/connections-and-credentials/discovery-credential-alias.md)
**Parent Topic:**[Access control](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-access-control.md)