I am not sure how to setup access to a secure service and what would be the best way. I have application based security so that only authenticated users can login and go to the page containing the map (as described above) but how to implement security to access secured services from ArcGIS server. i have gone through documents and have come across few things, however am not sure which is best way.
Is using token based security is best open, if yes then how can I generate tokens and provide access to the user from within the application (map page) without any login boxes. Do I need to setup a proxy page that can run on webserver and basically re-direct all calls to the secure services by adding the credential information onto each request.
It will great help if someone can point me to the right direction.