HTTP Referer

777
1
04-04-2013 11:43 AM
IgorBalotsky1
Occasional Contributor
Hello,

I would like to ensure that all token requests use an HTTP Referer in my environment so I went to the token configuration page and added the line for clientid, but token requests are still bypassing the URL I specified and going to the wrong URL. Any ideas?

{
  "type": "BUILTIN",
  "properties": {
    "clientid": "https://www.myhost.com",
    "longTimeout": "1440",
    "sharedKey": "82de21ed-xxxx-xxxx-xxxx-057920821ac9",
    "shortTimeout": "60"
  }
}

Thanks,
Igor
Tags (2)
0 Kudos
1 Reply
ErinBrimhall
Occasional Contributor II
Hello,

I would like to ensure that all token requests use an HTTP Referer in my environment so I went to the token configuration page and added the line for clientid, but token requests are still bypassing the URL I specified and going to the wrong URL. Any ideas?

{
  "type": "BUILTIN",
  "properties": {
    "clientid": "https://www.myhost.com",
    "longTimeout": "1440",
    "sharedKey": "82de21ed-xxxx-xxxx-xxxx-057920821ac9",
    "shortTimeout": "60"
  }
}

Thanks,
Igor


Igor,

Based on the ArcGIS Server Administrator API documentation, it does not appear that a "Token Manager" defines a "clientid" attribute in its property set.  There may be a way to accomplish what you are trying to do, but it does not appear to be through modifying the Token Manager.
0 Kudos