I need the service for my Quick Report app to be available to the public through my app, but not visible to the public through my organization's rest endpoint. I am planning on putting security on the layer through ArcGIS Server Manager, and then using token authentication within the code for the app.
Is there an HTTP Referer Site for a native mobile app? If so how do I find out what it is?
Is it better to hard code the username and password into the app and use get token method? If so, should I create a JavaScript file within my project to accomplish this?
Or is it better to generate a token manually and embed that into the app? Is that dangerous to do because if you do not remember to update it, the app will suddenly stop working when the token expires?
The feature service lives on my organization's ArcGIS Server. We are using ArcGIS Web Adaptor. We do not have Portal.
I am testing the app now in AppStudio Player. I have not built the app yet.
ArcGIS 10.3
AppStudio for ArcGIS (Desktop Edition) 1.3.46
Qt Creator 4.1.0 Based on Qt 5.7.0 (MSVC 2013, 32 bit)