Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
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
add comment

1 Answer

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

http://yourserver:6080/arcgis/admin/services/yourservice.MapServer/permissions

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.

http://yourserver:6080/arcgis/admin

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.

share|improve this answer
    
Great answer, but for 10.1+ –  Simon Jan 20 at 2:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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