<?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: Securing services  - Error 403 with the proxy page in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/securing-services-nbsp-error-403-with-the-proxy/m-p/130951#M3240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if the 403 error being generated by the request to the proxy.ashx page then you probably need to turn on windows authentication for the host asp.net application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the web.config file for your application:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;authentication mode="Windows"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;authorization&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;deny users="?" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow users="*" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/authorization&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will deny access to all unauthenticated requests and allow all authenticated requests.&amp;nbsp; Then make sure that anonymous access is disabled from IIS on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the error is being thrown from the request from the proxy to ArcGIS server, make sure the account is valid on both the instance hosting your Asp.Net application and the instance hosting ArcGIS Server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 07:21:26 GMT</pubDate>
    <dc:creator>JayOckers</dc:creator>
    <dc:date>2021-12-11T07:21:26Z</dc:date>
    <item>
      <title>Securing services  - Error 403 with the proxy page</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/securing-services-nbsp-error-403-with-the-proxy/m-p/130950#M3239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi to all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i habe a big trouble with the securing of ags services. I try to show what i done ( what i like to do )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) On operative system ( win server 2008 r2 , iis 7 ) i've created an user account (user1/pwd1) , and a group of users ( user1 is inside group )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Inside ags manager i've activated security and i have set the security for one services ( group is allowed on this )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) disable inside iis anonymous auth for both the directories rest and services and enable windows authentication&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) now on browser ( outside on internet ) &lt;/SPAN&gt;&lt;A href="http://mydomain/arcgis/rest/services/"&gt;http://mydomain/arcgis/rest/services/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5) the browser show me authentication login form , i write user1/pwd1 and i can read the services&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;all right until this point&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i would like to set up a silverlight application .... made the application ( no proxy ) , and all lokks like works .... the app show me the login form , i write user1 / pwd1 and i can see the maps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the trouble start when i try to pass credential automatically, then i set up this , i write inside proxy.config the user user1/pwd1 but i have always the error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;403 - Forbidden: Access is denied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You do not have permission to view this directory or page using the credentials that you supplied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What i've forget to do ? , is possible to do this or i've to find another solution ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you , help me please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 09:53:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/securing-services-nbsp-error-403-with-the-proxy/m-p/130950#M3239</guid>
      <dc:creator>MarcoRosa</dc:creator>
      <dc:date>2012-07-25T09:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Securing services  - Error 403 with the proxy page</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/securing-services-nbsp-error-403-with-the-proxy/m-p/130951#M3240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if the 403 error being generated by the request to the proxy.ashx page then you probably need to turn on windows authentication for the host asp.net application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the web.config file for your application:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;authentication mode="Windows"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;authorization&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;deny users="?" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow users="*" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/authorization&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will deny access to all unauthenticated requests and allow all authenticated requests.&amp;nbsp; Then make sure that anonymous access is disabled from IIS on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the error is being thrown from the request from the proxy to ArcGIS server, make sure the account is valid on both the instance hosting your Asp.Net application and the instance hosting ArcGIS Server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:21:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/securing-services-nbsp-error-403-with-the-proxy/m-p/130951#M3240</guid>
      <dc:creator>JayOckers</dc:creator>
      <dc:date>2021-12-11T07:21:26Z</dc:date>
    </item>
  </channel>
</rss>

