I am creating a .NET REST SOE for ArcGIS Server 10, and I will need to determine if a map service (or image) is secure or not.

Is there a property on a MapService that would tell me this in either ArcObjects or REST?

  • 1
    Can you setup https? support.microsoft.com/kb/324069 IIS - not sure on your setup though. – Mapperz Jan 27 '12 at 15:18
  • depends on what you mean by "secure"... – Ragi Yaser Burhum Jan 28 '12 at 7:48
  • secured at the AGS server level on services, with un/pw access and potentially tokens as well. – Simon Jan 30 '12 at 5:51

To check if the service is secured from the GIS Tier, you can use the ArcGIS for Server Admin API.

Query the REST end point is this


If the REST end point returned "esriEveryone", it means it is public. Else it will return the permitted Roles or Group who can access this service.

You can access the Admin API from here, you would need to use the primary administrator or any administrator login.


However, to check if it is secured from the Web-Tier, you can check if protocol is HTTPS or the port being used is 443.

  • Great answer, but for 10.1+ – Simon Jan 20 '14 at 2:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.