<?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 ArcGIS Server Security Enabled and Silverlight Web application security in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-server-security-enabled-and-silverlight-web/m-p/41275#M1093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have enabled Security on our development server using Windows users and groups. I followed the Walkthrough step by step. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Accessing the services through the REST services directory and ArcCatalog works as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I do have troubles accessing the services through the Silverlight applications. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get this message in Firebug anytime i try to query a secured map service through a silverlight application:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"","details":["Unauthorized access"]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried pretty much every Directory Security and web.config combination I could think of on the website hosting the Silverlight application to resolve the problem, but nothing works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have currently disabled Annonimous Access on the Directory Security tab of the website, I am in the group allowed to see the Map Service, and have in the web.config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]&amp;lt;authentication mode="Windows" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;identity impersonate="true"/&amp;gt;[/HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I have to setup the website security to make this work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Darina&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 May 2010 15:43:38 GMT</pubDate>
    <dc:creator>DarinaTchountcheva</dc:creator>
    <dc:date>2010-05-28T15:43:38Z</dc:date>
    <item>
      <title>ArcGIS Server Security Enabled and Silverlight Web application security</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-server-security-enabled-and-silverlight-web/m-p/41275#M1093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have enabled Security on our development server using Windows users and groups. I followed the Walkthrough step by step. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Accessing the services through the REST services directory and ArcCatalog works as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I do have troubles accessing the services through the Silverlight applications. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get this message in Firebug anytime i try to query a secured map service through a silverlight application:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"","details":["Unauthorized access"]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried pretty much every Directory Security and web.config combination I could think of on the website hosting the Silverlight application to resolve the problem, but nothing works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have currently disabled Annonimous Access on the Directory Security tab of the website, I am in the group allowed to see the Map Service, and have in the web.config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]&amp;lt;authentication mode="Windows" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;identity impersonate="true"/&amp;gt;[/HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I have to setup the website security to make this work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Darina&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 15:43:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-server-security-enabled-and-silverlight-web/m-p/41275#M1093</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2010-05-28T15:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server Security Enabled and Silverlight Web application security</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-server-security-enabled-and-silverlight-web/m-p/41276#M1094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try calling &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Courier New;"&gt;WebRequest&lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;.RegisterPrefix("&lt;SPAN style="color:#a31515;"&gt;&lt;A href="http://MyServer/ArcGIS/REST"&gt;http://MyServer/ArcGIS/REST&lt;/A&gt;"&lt;/SPAN&gt;, &lt;SPAN style="color:#2b91af;"&gt;WebRequestCreator&lt;/SPAN&gt;.ClientHttp) when your app starts (before the map initializes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt; &lt;BR /&gt;&lt;FONT face="Courier New"&gt;If that doesn't help, see this blogpost: &lt;A href="http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/tags/security/default.aspx"&gt;http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/tags/security/default.aspx&lt;/A&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 17:07:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-server-security-enabled-and-silverlight-web/m-p/41276#M1094</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-05-28T17:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server Security Enabled and Silverlight Web application security</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-server-security-enabled-and-silverlight-web/m-p/41277#M1095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, Morten!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are the bomb!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to use a proxy page, but it works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Darina&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 18:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-server-security-enabled-and-silverlight-web/m-p/41277#M1095</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2010-05-28T18:05:07Z</dc:date>
    </item>
  </channel>
</rss>

