I'm making a web map based on the ArcGIS Server JS API. How can I ensure that users must use my front-end to access the ArcGIS Server layers?
That is, I want anyone visiting MyDomain.com/index.html to have access to the ArcGIS Server layers referenced on the page, but I don't want users to be able to access the ArcGIS Server layers directly (eg, by using Firebug to detect the URLs then using them in their own applications).
I want to allow anonymous users to access the site, so I don't want to provide a prompt for users to log in - it needs to work seamlessly.
An idea is to secure the layers with tokens, and have my application automatically fill in the token credentials.
Has anyone done this? How would I hide the token credentials so that people couldn't access the information?
أكثر...
That is, I want anyone visiting MyDomain.com/index.html to have access to the ArcGIS Server layers referenced on the page, but I don't want users to be able to access the ArcGIS Server layers directly (eg, by using Firebug to detect the URLs then using them in their own applications).
I want to allow anonymous users to access the site, so I don't want to provide a prompt for users to log in - it needs to work seamlessly.
An idea is to secure the layers with tokens, and have my application automatically fill in the token credentials.
Has anyone done this? How would I hide the token credentials so that people couldn't access the information?
أكثر...