Let's say I have web service X: maps.example.com/servername/rest/services/folder/ServiceName/MapServer/0
If I navigate to X in my browser's search bar, I get the following error:
{
"Error": "Services Directory has been disabled",
"Code": 403
}
However, when I add X into an ESRI web map using "Add data from the Web", everything displays fine. According to this ESRI documentation, one can disable a services directory. By my reasoning, this should prevent users from accessing or querying the data in the map or through an HTML page.
Why is it possible to add a service from a disabled directory to a web map? Is it a weird quirk with this particular X service, or does this have broader context?