The Services Directory provides a browsable HTML-based representation of all your ArcGIS Server web services and the actions you can perform on them through REST requests. The Services Directory is a useful development tool and mechanism to get an overview of services and their operations. However, you can disable the Services Directory if you do not want search engines and individuals to easily discover and directly interact with individual services.
This is not a security setting. Disabling the Services Directory does not prevent access to or the ability to discover services and their operations; it only removes a human-readable option for getting that information, querying services, or creating other types of requests.
Follow these steps to disable the Services Directory:
the ArcGIS Server Administrator Directory and sign in with an account that has been granted administrator privileges.
The Administrator Directory URL is in the form https://gisserver.domain.com:6443/arcgis/admin.
- Access the Services Directory settings by clicking system > handlers > rest > servicesdirectory > edit.
- Uncheck Services Directory Enabled and click Save.