Hi All,
I would request information on how do we secure API Key. Our app should be working on public domain, I understand we cannot set referrers in our case.
Any suggestions would be very helpful.
Thanks in advance!
With Regards,
Vara Prasad
You could setup a small proxy to handle the API key for the requests. This will hide the key (although without a referrer anyone could still access).
Esri does have sample code for a proxy, but the code is retired now as they recommend one of the following approaches (from esri github page for proxy) although some still rely on having a referrer:
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.