amarsden

Dynamic tokens, security and all that.

Discussion created by amarsden on Jul 11, 2012
Hi
I'm using 3.0 of the API and 10.1 AGS, so the latest public versions - I think I have set up my proxy as per the well linked post here (http://forums.esri.com/Thread.asp?c=158&f=2396&t=297001) and in my proxy config I have

    <serverUrl url="http://maps2.mydomainname/arcgis/rest/services/securetest"
               matchAll="true"
               dynamicToken="true"
               host="eddc-gis2"
               userName="webmap"
               password="password for the account webmap"></serverUrl>


The user webmap is in a user role, the role has all the requied rights.

In the debug log I get

ARCGIS_TOKEN Authentication, Token is not available in the request, request is treated as anonymous


I am sure my page is calling the proxy page OK

Any ideas people?  I can't find a full walk through for setting this up, also I have found how to secure the services, how to generate a temporary token, but I can't see how to incorporate that token into my webpage (although I'll only need to use this if we open access to our services up to outside bodies, I do want to know)

Cheers

ACM

Outcomes