<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Security</title><link>http://forums.iis.net/1043.aspx</link><description>Discussions around the security of IIS 7 including compentization, hidden directories, or authentication\authorization</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Certificate mapping authentication not work on Server Share</title><link>http://forums.iis.net/thread/1881693.aspx</link><pubDate>Thu, 09 Oct 2008 21:24:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881693</guid><dc:creator>krolson</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881693.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1881693</wfw:commentRss><description>&lt;p&gt;You would have to configure the share permissions to allow at least read access to the identity IIS is using (the IIS worker process identity) to connect to the share.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Also, I believe that in order to use pass-through authentication you would have to disable the use of distributed web.config files in the virtual directory. To do this you set the allowSubDirConfig attribute on the virtual directory definition fo &amp;quot;false.&amp;quot;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;The pass-through method can be tricky because some application frameworks will use the IIS worker process identity while others will always use the authenticated user identity.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;A few cautions as well: if you grant IIS permissions above Read access (or give the IIS account administrative privileges on the remote network server), it may be possible for an attacker to gain control of the remote share if the server is compromised.&amp;nbsp; You would only need write/full access&amp;nbsp;if you are using IIS to publish content (and you should never use identities with administrative privileges on the file server to access remote content).&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Certificate mapping authentication not work on Server Share</title><link>http://forums.iis.net/thread/1881586.aspx</link><pubDate>Wed, 08 Oct 2008 17:55:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881586</guid><dc:creator>Metek</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881586.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1881586</wfw:commentRss><description>&lt;p&gt;Hello Krolson,&lt;/p&gt;
&lt;p&gt;The access via User account is working OK, but unfortunately, we are making Intranet and need differintiate user&amp;nbsp;rights on the share. Any suggestion, how&amp;nbsp;we can make&amp;nbsp;authentification working? I also do not understand why access fails when&amp;nbsp;I&amp;#39;m typing credential directy into Authentication dialog.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;You could try to give the IIS worker process identity read access to the remote content share&lt;/p&gt;
&lt;p&gt;Could you please explain this option in more details?&lt;/p&gt;
&lt;p&gt;With best regards,&lt;/p&gt;
&lt;p&gt;Al&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana" color="#034af3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Certificate mapping authentication not work on Server Share</title><link>http://forums.iis.net/thread/1881584.aspx</link><pubDate>Wed, 08 Oct 2008 17:48:50 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881584</guid><dc:creator>Metek</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881584.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1881584</wfw:commentRss><description>&lt;p&gt;Hi Anil,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. As specified in my initial message, we are using &amp;quot;Active Directory Client Certificate Authentication&amp;quot;. &lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; you will have to write some scripts to configure it&lt;/p&gt;
&lt;p&gt;What kinf of scripts? How can I configure such way&amp;nbsp;that user is identified on network share?&lt;/p&gt;
&lt;p&gt;With best regards,&lt;/p&gt;
&lt;p&gt;Al&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Certificate mapping authentication not work on Server Share</title><link>http://forums.iis.net/thread/1881509.aspx</link><pubDate>Wed, 08 Oct 2008 00:02:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881509</guid><dc:creator>krolson</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881509.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1881509</wfw:commentRss><description>&lt;p&gt;One issue may be that you cannot use pass-through authentication to access web.config files on a remote share (because IIS uses the authenticated user for pass-through, and the access would have to occur before IIS has determined the authenticated user).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;You could try to give the IIS worker process identity read access to the remote content share, but pass-through access is a little messy in this case. &amp;nbsp;I would recommend using virtual directory fixed credentials instead.&amp;nbsp; Remember to set a username and password on the virtual directory that correspond to a valid account on your share.&lt;/p&gt;</description></item><item><title>Re: Certificate mapping authentication not work on Server Share</title><link>http://forums.iis.net/thread/1881507.aspx</link><pubDate>Tue, 07 Oct 2008 23:58:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881507</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881507.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1881507</wfw:commentRss><description>&lt;p&gt;Are you trying &amp;quot;windows integrated authentication&amp;quot; or &amp;quot;AD client cert authentication&amp;quot;?&amp;nbsp; Note that the IIS Manager does not let you configure the latter and you will have to write some scripts to configure it.&lt;/p&gt;</description></item><item><title>Certificate mapping authentication not work on Server Share</title><link>http://forums.iis.net/thread/1881396.aspx</link><pubDate>Mon, 06 Oct 2008 19:58:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881396</guid><dc:creator>Metek</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881396.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1043&amp;PostID=1881396</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to setup IIS7.0 WEB site with &amp;quot;Windows Authentication&amp;quot; through &amp;quot;Active Directory Client Certificate Authentication&amp;quot;. My User account is&amp;nbsp;properly mapped to Domain User account&amp;nbsp;and I have an access to all directories located on WEB server.&lt;/p&gt;
&lt;p&gt;Now I added Virtual directory with physical path mapping to the share on another server. &amp;quot;Connected As&amp;quot; is set to Application User (pass-through authentication). I verified that Domain User Account authenticated by Client certificate have an access to Share on another server and corresponding ACL on the physical disk directory. However, when I&amp;#39;m trying connect to the new virtual directory 2 problems appear:&lt;/p&gt;
&lt;p&gt;1. I&amp;#39;m getting Dialog asking for User Name and password. Why?&lt;/p&gt;
&lt;p&gt;2. Regardless what I&amp;#39;m entering in that dialog (Domain account of user logged&amp;nbsp;into WEB site or even Domain Administrator&amp;nbsp;data), I&amp;#39;m getting error 401. Log file is not informative at all: I see call to various Authentication modules, they all return false. The only Warning in log is&lt;/p&gt;
&lt;p&gt;
&lt;table class="" cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;th class=""&gt;ModuleName&lt;/th&gt;
&lt;td class="event-data" class="event-data"&gt;IIS Web Core&lt;/td&gt;&lt;/tr&gt;
&lt;tr class="alt"&gt;
&lt;th class=""&gt;Notification&lt;/th&gt;
&lt;td class="event-data" class="event-data"&gt;2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;th class=""&gt;HttpStatus&lt;/th&gt;
&lt;td class="event-data" class="event-data"&gt;401&lt;/td&gt;&lt;/tr&gt;
&lt;tr class="alt"&gt;
&lt;th class=""&gt;HttpReason&lt;/th&gt;
&lt;td class="event-data" class="event-data"&gt;Unauthorized&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;th class=""&gt;HttpSubStatus&lt;/th&gt;
&lt;td class="event-data" class="event-data"&gt;3&lt;/td&gt;&lt;/tr&gt;
&lt;tr class="alt"&gt;
&lt;th class=""&gt;ErrorCode&lt;/th&gt;
&lt;td class="event-data" class="event-data"&gt;2147942405&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;th class=""&gt;ConfigExceptionInfo&lt;/th&gt;
&lt;td class="event-data" class="event-data"&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class="alt"&gt;
&lt;th class=""&gt;Notification&lt;/th&gt;
&lt;td class=""&gt;AUTHENTICATE_REQUEST&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;th class=""&gt;ErrorCode&lt;/th&gt;
&lt;td class=""&gt;Access is denied. (0x80070005)&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;What&amp;#39;s wrong? Any help is appreciated.&lt;/p&gt;
&lt;p&gt;Al&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>