<?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 Using token based secured services in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492730#M45767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;New to JS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I embed credentials in order to use a secured service? Can anyone provide samples on how to use IdentityManagerBase?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 19:15:33 GMT</pubDate>
    <dc:creator>YimanSong</dc:creator>
    <dc:date>2013-09-04T19:15:33Z</dc:date>
    <item>
      <title>Using token based secured services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492730#M45767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;New to JS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I embed credentials in order to use a secured service? Can anyone provide samples on how to use IdentityManagerBase?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 19:15:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492730#M45767</guid>
      <dc:creator>YimanSong</dc:creator>
      <dc:date>2013-09-04T19:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using token based secured services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492731#M45768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you want to enable users to access secure services without signing in, one valid approach is to use a &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jshelp/ags_proxy.html"&gt;proxy&lt;/A&gt;&lt;SPAN&gt; to hide the credentials or token.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 21:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492731#M45768</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-09-04T21:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using token based secured services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492732#M45769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;if you want to enable users to access secure services without signing in, one valid approach is to use a &lt;A href="https://developers.arcgis.com/en/javascript/jshelp/ags_proxy.html"&gt;proxy&lt;/A&gt; to hide the credentials or token.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How does token work, if it doesn't require proxy?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 11:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492732#M45769</guid>
      <dc:creator>YimanSong</dc:creator>
      <dc:date>2013-09-05T11:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using token based secured services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492733#M45770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I tend to do is just append the token to the end of my service urls:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;http: // data.yourdomain.com/arcgis/rest/services/SomeMapService/MapServer/0?token=AREALLYLONGSTRING&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine, but with the down-side that said url (and token) will be available to view from the client.&amp;nbsp; However, when I &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Acquiring_ArcGIS_tokens/0154000005rp000000/" rel="nofollow" target="_blank"&gt;generate my token&lt;/A&gt;&lt;SPAN&gt;, I use the http referrer method, which means the token is useless unless coming from my own server folder.&amp;nbsp; But as John said above, the proxy method works great, too (and is required when doing things like feature editing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ken.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 13:50:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-token-based-secured-services/m-p/492733#M45770</guid>
      <dc:creator>KenBurcham</dc:creator>
      <dc:date>2013-09-05T13:50:21Z</dc:date>
    </item>
  </channel>
</rss>

