How do I get "AllowedOrigins" to work?

988
0
10-20-2016 04:29 PM
FredSpataro
Occasional Contributor III

Hi All, 

Maybe I'm hoping for something that's not possible but I thought that by setting this value to specific machine domains, it would prevent AGS from responsding to requests from other places.  Is that not the jist of it? 

I have:

  • AGS 10.3 server.
  • The Allowed origins property in the Admin site (Home>system>handlers>rest>servicesdirectory) is set to:
    • server1.mydomain.com 
  • I've saved the operation and restarted the AGS service.  

I can still access the map services on this box from:

  • a basic JavaScript API map on localhost
  • from the arcgis.com map
  • from web browser just copy/pasting the url
  • from the web application on another server.  

I haven't found anything that's "blocked"

What should I expect from this property being set?

Am I missing another step? 

I'll following the steps here: Restricting cross-domain requests to ArcGIS Server—Documentation (10.3 and 10.3.1) | ArcGIS for Serv... 

Thanks 

Fred

Tags (2)
0 Replies