<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to secure WordPress admin directory on IIS 7.0</title>
	<atom:link href="http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Mon, 30 Jan 2012 13:10:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Justin Bartlett</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-10889</link>
		<dc:creator>Justin Bartlett</dc:creator>
		<pubDate>Fri, 22 Apr 2011 17:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-10889</guid>
		<description>Hi there, I&#039;m interested in having a shared login between a linux hosted wordpress site and an asp.net based cms - Is there any way to have asp.net read the mysql database containing wordpress login info and use that to authenticate users?  Or a cookie solution?  Any thoughts on sharing login / pass between asp.net and wordpress or pointing me in the right direction would be so very much appreciated.</description>
		<content:encoded><![CDATA[<p>Hi there, I&#8217;m interested in having a shared login between a linux hosted wordpress site and an asp.net based cms &#8211; Is there any way to have asp.net read the mysql database containing wordpress login info and use that to authenticate users?  Or a cookie solution?  Any thoughts on sharing login / pass between asp.net and wordpress or pointing me in the right direction would be so very much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-10698</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Thu, 24 Feb 2011 17:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-10698</guid>
		<description>I had been using instructions similar to this to allow Forms Authentication to work as a single-signon for Drupal.  The weirdly everything worked with integrated pipeline for authenticated users, but anonymous user POST requests received 500.0 errors while GET worked fine.

After some redirection from a member of groups.drupal.org (http://groups.drupal.org/node/122299) I reverted to &quot;Classic&quot; mode with a wildcard script mapping and this worked.  My question is, why?  I don&#039;t understand why &quot;Integrated Pipeline&quot; mode did not work for anonymous POSTs.

My web.config under &quot;Integrated Pipeline&quot; included these modules:

[XML has been removed. Only encoded XML is allowed]

and Anonymous POSTs were explicitly allowed in the web.config and worked for ASP.Net, Classic ASP, and HTML in the same Application.

What don&#039;t I understand here?  Thanks for your insights, I have everything working... I just don&#039;t understand why it doesn&#039;t work in integrated mode.</description>
		<content:encoded><![CDATA[<p>I had been using instructions similar to this to allow Forms Authentication to work as a single-signon for Drupal.  The weirdly everything worked with integrated pipeline for authenticated users, but anonymous user POST requests received 500.0 errors while GET worked fine.</p>
<p>After some redirection from a member of groups.drupal.org (<a href="http://groups.drupal.org/node/122299" rel="nofollow">http://groups.drupal.org/node/122299</a>) I reverted to &#8220;Classic&#8221; mode with a wildcard script mapping and this worked.  My question is, why?  I don&#8217;t understand why &#8220;Integrated Pipeline&#8221; mode did not work for anonymous POSTs.</p>
<p>My web.config under &#8220;Integrated Pipeline&#8221; included these modules:</p>
<p>[XML has been removed. Only encoded XML is allowed]</p>
<p>and Anonymous POSTs were explicitly allowed in the web.config and worked for ASP.Net, Classic ASP, and HTML in the same Application.</p>
<p>What don&#8217;t I understand here?  Thanks for your insights, I have everything working&#8230; I just don&#8217;t understand why it doesn&#8217;t work in integrated mode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. james johnson</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-3543</link>
		<dc:creator>J. james johnson</dc:creator>
		<pubDate>Wed, 15 Dec 2010 23:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-3543</guid>
		<description>This would transmit the password in clear text though...</description>
		<content:encoded><![CDATA[<p>This would transmit the password in clear text though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-2451</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 15 Sep 2010 16:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-2451</guid>
		<description>Hi Joey,

This error is because some IIS section is locked for modifications on the site level. This can be changed by modifying the file C:\windows\system32\inetsrv\config\applicationHost.config or by using IIS Manager as described &lt;a href=&quot;http://learn.iis.net/page.aspx/155/an-overview-of-feature-delegation-in-iis-70/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hi Joey,</p>
<p>This error is because some IIS section is locked for modifications on the site level. This can be changed by modifying the file C:\windows\system32\inetsrv\config\applicationHost.config or by using IIS Manager as described <a href="http://learn.iis.net/page.aspx/155/an-overview-of-feature-delegation-in-iis-70/" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-2450</link>
		<dc:creator>Joey</dc:creator>
		<pubDate>Wed, 15 Sep 2010 12:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-2450</guid>
		<description>Any idea how to resolve this error?  HTTP Error 500.19 – Internal Server Error 


I have read up on it and it says that there are possibly two lines where  is added.  

In the last cnfig i sent i didnt see that.  I am hping you read this soon.  I have to have this configured by friday.
thanks for your help in advance.</description>
		<content:encoded><![CDATA[<p>Any idea how to resolve this error?  HTTP Error 500.19 – Internal Server Error </p>
<p>I have read up on it and it says that there are possibly two lines where  is added.  </p>
<p>In the last cnfig i sent i didnt see that.  I am hping you read this soon.  I have to have this configured by friday.<br />
thanks for your help in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-2447</link>
		<dc:creator>Joey</dc:creator>
		<pubDate>Tue, 14 Sep 2010 20:15:45 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-2447</guid>
		<description>Yeah i had to add the module in IIS.  got it sorted.  

Now i have the following errors.  

Server ErrorInternet Information Services 7.0
Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
Module IIS Web Core 
Notification BeginRequest 
Handler Not yet determined 
Error Code 0x80070021 
Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=&quot;Deny&quot;), or set explicitly by a location tag with overrideMode=&quot;Deny&quot; or the legacy allowOverride=&quot;false&quot;.  
Config File \\?\P:\inetpub\wwwroot\web.config 
Requested URL http://magazine.lynn.edu:80/ 
Physical Path P:\inetpub\wwwroot 
Logon Method Not yet determined 
Logon User Not yet determined 
 Config Source
   10:         
   11: 
   12:     
 Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error. 
View more information »
 





Here is a copy of my web.config file.  something is most likely done incorrectly.  




    
        
        
            
                
                
            
        

    
    
    
    
    
    





    




  
  
    
       
    
  




&lt;!-- Deny access to wp-admin for anonymous users --&gt;

  
      
          
              
          
      
  

&lt;!-- Allow access to wp-admin/css folder for anonymous users --&gt;
&lt;!-- this is needed in order for WordPress login page to display correctly --&gt;

  
    
      
        
      
    
  

&lt;!-- Allow access to wp-admin/images folder for anonymous users --&gt;
&lt;!-- this is needed in order for WordPress login page to display correctly --&gt;

  
    
      
        
      
    
  


</description>
		<content:encoded><![CDATA[<p>Yeah i had to add the module in IIS.  got it sorted.  </p>
<p>Now i have the following errors.  </p>
<p>Server ErrorInternet Information Services 7.0<br />
Error Summary<br />
HTTP Error 500.19 &#8211; Internal Server Error<br />
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information<br />
Module IIS Web Core<br />
Notification BeginRequest<br />
Handler Not yet determined<br />
Error Code 0&#215;80070021<br />
Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=&#8221;Deny&#8221;), or set explicitly by a location tag with overrideMode=&#8221;Deny&#8221; or the legacy allowOverride=&#8221;false&#8221;.<br />
Config File \\?\P:\inetpub\wwwroot\web.config<br />
Requested URL <a href="http://magazine.lynn.edu:80/" rel="nofollow">http://magazine.lynn.edu:80/</a><br />
Physical Path P:\inetpub\wwwroot<br />
Logon Method Not yet determined<br />
Logon User Not yet determined<br />
 Config Source<br />
   10:<br />
   11:<br />
   12:<br />
 Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.<br />
View more information »</p>
<p>Here is a copy of my web.config file.  something is most likely done incorrectly.  </p>
<p><!-- Deny access to wp-admin for anonymous users --></p>
<p><!-- Allow access to wp-admin/css folder for anonymous users --><br />
<!-- this is needed in order for WordPress login page to display correctly --></p>
<p><!-- Allow access to wp-admin/images folder for anonymous users --><br />
<!-- this is needed in order for WordPress login page to display correctly --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-2426</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 08 Sep 2010 00:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-2426</guid>
		<description>Hi Joey,

The Forms Authentication should be already installed when you install IIS 7.</description>
		<content:encoded><![CDATA[<p>Hi Joey,</p>
<p>The Forms Authentication should be already installed when you install IIS 7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-2425</link>
		<dc:creator>Joey</dc:creator>
		<pubDate>Tue, 07 Sep 2010 19:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-2425</guid>
		<description>Sorry, Using Server 2008 Enterprise Edition.</description>
		<content:encoded><![CDATA[<p>Sorry, Using Server 2008 Enterprise Edition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-2424</link>
		<dc:creator>Joey</dc:creator>
		<pubDate>Tue, 07 Sep 2010 18:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-2424</guid>
		<description>Unfortunately I don&#039;t see forms authentication as a checkable module in IIS?  I was able to add URL authorization module though from the Add Role Services Section in IIS.

Am I missing something?</description>
		<content:encoded><![CDATA[<p>Unfortunately I don&#8217;t see forms authentication as a checkable module in IIS?  I was able to add URL authorization module though from the Add Role Services Section in IIS.</p>
<p>Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://ruslany.net/2009/02/how-to-secure-wordpress-admin-directory-on-iis-70/comment-page-1/#comment-1523</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 09 Dec 2009 16:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=199#comment-1523</guid>
		<description>Ruslany,
You were right, I did not have URL authorization enabled, and I got confused because I was using VS development server alongside IIS7 (http://www.4guysfromrolla.com/articles/122408-1.aspx cleared this up for me) and the behavior was different for each. So, I am beginning to understand now, but I have a follow up question. Does plugging the asp.net modules into the pipeline (i.e. removing and then adding FormsAuthenticationModule) also enable authentication on static content through the system.web authentication rule? If so, what is the advantage to using the system.webServer namespace? Thanks again.
John</description>
		<content:encoded><![CDATA[<p>Ruslany,<br />
You were right, I did not have URL authorization enabled, and I got confused because I was using VS development server alongside IIS7 (<a href="http://www.4guysfromrolla.com/articles/122408-1.aspx" rel="nofollow">http://www.4guysfromrolla.com/articles/122408-1.aspx</a> cleared this up for me) and the behavior was different for each. So, I am beginning to understand now, but I have a follow up question. Does plugging the asp.net modules into the pipeline (i.e. removing and then adding FormsAuthenticationModule) also enable authentication on static content through the system.web authentication rule? If so, what is the advantage to using the system.webServer namespace? Thanks again.<br />
John</p>
]]></content:encoded>
	</item>
</channel>
</rss>

