Select to view content in your preferred language

Allowing unauthorized user to view filtered data of protected layers

242
1
06-23-2023 08:43 AM
ClaudioCatucci2
New Contributor

Hi everyone,

I'd like to make an ArcGIS JS Web Application that uses some protected ArcGIS services (feature services, map services, ecc.).

My goal, depending on whether the user is authorized or not, is respectively to add the protected layers directly to the map (with a "map.addLayer()" method) or to show only partial data of the layers, avoiding to publish two separate (but twin) services, one protected and the other one public.

Is there a way to achieve it other than to dinamically create every time a layer by directly access  the gdb feature classes?

 

Thank you.  

0 Kudos
1 Reply
RichardMoussopo
Occasional Contributor III
0 Kudos