<?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 Re: Access Secured Feature Service using JavaScript API 4.0 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035222#M72010</link>
    <description>&lt;P&gt;Sorry, I misinterpreted the use case.&amp;nbsp; I think that using a self-hosted resource proxy as described in the 'Application login' section would be an option.&amp;nbsp; The calls to the secure service from the public app would go through the proxy.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 23:22:39 GMT</pubDate>
    <dc:creator>JohnGrayson</dc:creator>
    <dc:date>2021-03-10T23:22:39Z</dc:date>
    <item>
      <title>Access Secured Feature Service using JavaScript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1033796#M71958</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a GIS website that we recently updated to use the Javascript API 4.17 and moved it to a new server along with updated feature services on a new ArcGIS server.&amp;nbsp; The site is public-facing, open to all, and utilizes a good number of feature/image services we host on our internal ArcGIS servers (10.7) via a web adapter.&amp;nbsp; After closing down the old web site, our IT department reported there was still substantial traffic to our old feature services.&amp;nbsp; Apparently, several outside entities have been consuming our imagery services for their own use as they had been publicly exposed.&lt;/P&gt;&lt;P&gt;We want to make the data and imagery available to the public via our website but we are not a hosting service for other entities.&amp;nbsp; It is especially frustrating as IT has reported these other entities are accounting for more than 30 times our own network traffic to the image services.&lt;/P&gt;&lt;P&gt;Can feature and image services hosted on a standalone ArcGIS server deployment be secured but yet still available to an open,&amp;nbsp; public-facing website that is mostly client-side javascript?&amp;nbsp; We do not want users to have to log in to view the site.&amp;nbsp; Looking through the Developers documentation (&lt;A href="https://developers.arcgis.com/javascript/latest/secure-resources/" target="_self"&gt;Access secure resources&lt;/A&gt;), it appears this can be accomplished using ArcGIS Tokens but I cannot find a comprehensive example for the Javascript API 4.17.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also want to make sure this is not a violation of any ESRI policy.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 22:13:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1033796#M71958</guid>
      <dc:creator>JustMe6</dc:creator>
      <dc:date>2021-03-07T22:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Access Secured Feature Service using JavaScript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1034962#M71995</link>
      <description>&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 16:08:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1034962#M71995</guid>
      <dc:creator>JustMe6</dc:creator>
      <dc:date>2021-03-10T16:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Access Secured Feature Service using JavaScript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035132#M72005</link>
      <description>&lt;P&gt;You could &lt;A href="https://enterprise.arcgis.com/en/server/latest/administer/windows/disabling-the-services-directory.htm" target="_self"&gt;disable directory browsing&lt;/A&gt; but the service is still available if you use browser developer tools to monitor network traffic. If your organization has a load balancer managing traffic coming in, maybe you could set up a url referrer allow list for your services so it blocks anything coming in that's not from your app. I'm not a network engineer so I can't be of anymore help there. I don't think there's anything natively available in ArcGIS Server to do this.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 20:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035132#M72005</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-03-10T20:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Access Secured Feature Service using JavaScript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035143#M72006</link>
      <description>&lt;P&gt;I normally share content to a group only and then create an item for my app, register it, and use OAuth in the application to access the services, and you can even provide a referrer for your app.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 21:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035143#M72006</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-03-10T21:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Access Secured Feature Service using JavaScript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035185#M72009</link>
      <description>&lt;P&gt;John,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. &amp;nbsp;We are trying to do this but how do you use OAuth when the user does not logon? &amp;nbsp;The web site allows anonymous.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 22:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035185#M72009</guid>
      <dc:creator>JustMe6</dc:creator>
      <dc:date>2021-03-10T22:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Access Secured Feature Service using JavaScript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035222#M72010</link>
      <description>&lt;P&gt;Sorry, I misinterpreted the use case.&amp;nbsp; I think that using a self-hosted resource proxy as described in the 'Application login' section would be an option.&amp;nbsp; The calls to the secure service from the public app would go through the proxy.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 23:22:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-secured-feature-service-using-javascript/m-p/1035222#M72010</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-03-10T23:22:39Z</dc:date>
    </item>
  </channel>
</rss>

