What I tend to do is just append the token to the end of my service urls:http: // data.yourdomain.com/arcgis/rest/services/SomeMapService/MapServer/0?token=AREALLYLONGSTRINGThis works fine, but with the down-side that said url (and token) will be available to view from the client. However, when I generate my token, I use the http referrer method, which means the token is useless unless coming from my own server folder. But as John said above, the proxy method works great, too (and is required when doing things like feature editing).ken.