Hi,
Here is my problem statement,
- As per customer’s requirement, Created a WebGIS Application which consumes WebMap configured with Featureservices.
- These Featureservices are created out of UNM Featureclasses
- As per customer’s requirement, we need to hide certain data in the Web GIS Application for some set of users. Hide another set of data for another set of users and so on. There is a field in the UNM featureclasses which can be used to apply these filter criterias.
For eg: Assume that there are four user groups in Portal for ArcGIS which contains users. Now users of group1 should be restricted to view the data of featureclasses with a whereclause of <criteria-1> and users of group-2 should be restricted to view the data of featureclasses with a whereclause of <criteria-2> and so on till four different groups.
- The problem here is, I tried to create four different featureservices for this purpose, but when I applied the Definition Query on the Layers in ArcGIS Pro and tried to publish them as Featureservices, it has errored out saying that, Definition query is not supported on the featureclasses participating in Utility Network and Trace. Hence, I published only one Featureservice but applied four definiton queries each on the Featureservices and published them as four different webmaps. Technically this is solving my problem, that the web application is restricting the data based on the queries applied. But, security wise there is a gap. Any user can hit the Featureservices outside of web application. I know I can lock the folder for Featureservices in the ArcGIS Server. But, knowing the serive urls anyone can still hit them outside of web app. Please help me if there is any other way forward? Does ArcGIS SOI help me in this aspect? If so, will there be any remarkable lag/performance issues?