<?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: Security model approaches in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/security-model-approaches/m-p/141676#M13181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have implemented the security model as originally proposed.&amp;nbsp; Use of cookies prompted some additional concerns and I was able to justify token as a url parameter by demonstrating that the service account associated with generating the token is only valid for that single feature service, which&amp;nbsp;cannot be used on other editable feature services and&amp;nbsp;comes with a 30min expiration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Have application "A" request a token from the AGS site that the secured feature service is published to using a service account we have designated.&lt;/P&gt;&lt;P&gt;2. When the user opens application "B", application "A" will include that token as a url parameter and I have some JavaScript in application "B" that can&amp;nbsp;grab&amp;nbsp;the token and&amp;nbsp;then append it to any requests against that secured feature service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2019 16:21:00 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2019-02-15T16:21:00Z</dc:date>
    <item>
      <title>Security model approaches</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/security-model-approaches/m-p/141674#M13179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to solve a design problem with one of our ESRI JavaScript (WAB) applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario: Web application "A" (non-ESRI) is a business system that opens web application "B" (an ESRI JavaScript app) that is publicly accessible but contains a secured feature service for editing.&amp;nbsp; Users are authenticated into Web app "A" and we do not want additional challenge for credentials when application "B" is launched from a button within application "A".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far the most logical design I've come up with is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Have application "A" request a token from the AGS site that the secured feature service is published to using a service account we have designated.&lt;/P&gt;&lt;P&gt;2. When the user opens application "B", application "A" will include that token as a url parameter and I have some JavaScript in application "B" that can&amp;nbsp;grab&amp;nbsp;the token and&amp;nbsp;then append it to any requests against that secured feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While this will eliminate any second challenge for credentials, having the token in the url is not all that desired from our security team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on alternatives?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 17:06:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/security-model-approaches/m-p/141674#M13179</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2019-01-29T17:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Security model approaches</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/security-model-approaches/m-p/141675#M13180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One alternative to&amp;nbsp;passing the&amp;nbsp;token in the url&amp;nbsp;that I have prototyped but would like comments on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Have application "A" request a token from the AGS site that the secured feature service is published to using a service account we have designated.&lt;/P&gt;&lt;P&gt;2. Have application "A" save the token as a cookie in local storage on the client.&lt;/P&gt;&lt;P&gt;3. When the user opens application "B",&amp;nbsp;that cookie&amp;nbsp;is located and the token value acquired from it within&amp;nbsp;application "B" startup: function(){} then append it to any requests against that secured feature service as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 20:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/security-model-approaches/m-p/141675#M13180</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2019-01-29T20:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Security model approaches</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/security-model-approaches/m-p/141676#M13181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have implemented the security model as originally proposed.&amp;nbsp; Use of cookies prompted some additional concerns and I was able to justify token as a url parameter by demonstrating that the service account associated with generating the token is only valid for that single feature service, which&amp;nbsp;cannot be used on other editable feature services and&amp;nbsp;comes with a 30min expiration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Have application "A" request a token from the AGS site that the secured feature service is published to using a service account we have designated.&lt;/P&gt;&lt;P&gt;2. When the user opens application "B", application "A" will include that token as a url parameter and I have some JavaScript in application "B" that can&amp;nbsp;grab&amp;nbsp;the token and&amp;nbsp;then append it to any requests against that secured feature service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 16:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/security-model-approaches/m-p/141676#M13181</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2019-02-15T16:21:00Z</dc:date>
    </item>
  </channel>
</rss>

