TheKeithStewart / angular-esri-components

A set of Angular components to work with ArcGIS API for JavaScript v4.6
Apache License 2.0
43 stars 28 forks source link

ArcGIS Proxy server for Angular Application #39

Open abhishekhingu opened 5 years ago

abhishekhingu commented 5 years ago

Hi

I don't want my ArcGIS services directly accessible from client/angular application.

for example my arcgis server setup on 10.XX.XX.80 server. my angular app hosted on 10.XX.XX.90 server.

so angular app should not directly connect to 10.XX.XX.80 server to load all resource like application FeatureLayers and other utility services.

how can I resolve this issue?

tomwayson commented 5 years ago

There is not special about how you would do that in an angular application. You can follow any of the normal processes for setting up and consuming a proxy to your ArcGIS services. There are a few ways to do that:

https://github.com/Esri/resource-proxy https://enterprise.arcgis.com/en/server/latest/install/windows/about-the-arcgis-web-adaptor.htm

I'm not an expert, so you probably want to ask on GeoNet if you have any further questions.