<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Allowing unauthorized user to view filtered data of protected layers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/allowing-unauthorized-user-to-view-filtered-data/m-p/1302499#M81496</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'd like to make an ArcGIS JS Web Application that uses some protected ArcGIS services (feature services, map services, ecc.).&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Is there a way to achieve it other than to dinamically create every time a layer by&amp;nbsp;directly access&amp;nbsp; the gdb feature classes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 15:43:27 GMT</pubDate>
    <dc:creator>ClaudioCatucci2</dc:creator>
    <dc:date>2023-06-23T15:43:27Z</dc:date>
    <item>
      <title>Allowing unauthorized user to view filtered data of protected layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/allowing-unauthorized-user-to-view-filtered-data/m-p/1302499#M81496</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'd like to make an ArcGIS JS Web Application that uses some protected ArcGIS services (feature services, map services, ecc.).&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Is there a way to achieve it other than to dinamically create every time a layer by&amp;nbsp;directly access&amp;nbsp; the gdb feature classes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 15:43:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/allowing-unauthorized-user-to-view-filtered-data/m-p/1302499#M81496</guid>
      <dc:creator>ClaudioCatucci2</dc:creator>
      <dc:date>2023-06-23T15:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing unauthorized user to view filtered data of protected layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/allowing-unauthorized-user-to-view-filtered-data/m-p/1303741#M81560</link>
      <description>&lt;P&gt;Have you looked at this:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/secure-resources/" target="_self"&gt;https://developers.arcgis.com/javascript/latest/secure-resources/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 04:31:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/allowing-unauthorized-user-to-view-filtered-data/m-p/1303741#M81560</guid>
      <dc:creator>RichardMoussopo</dc:creator>
      <dc:date>2023-06-28T04:31:32Z</dc:date>
    </item>
  </channel>
</rss>

