I am developing a javascript app which needs to query an arcgis rest service via token. On the front end(client side) how do i hide the credentials so that it is not exposed?
Do i store the credentials in a config file on the webserver? If yes, how will the app refer the config file to send the request to arcgis server ?