<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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/"><channel><title>Alik Levin's : IIS 7</title><link>http://blogs.msdn.com/alikl/archive/tags/IIS+7/default.aspx</link><description>Tags: IIS 7</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Securing IIS7 - Windows Server 2008 Security Guide</title><link>http://blogs.msdn.com/alikl/archive/2008/02/28/securing-iis7-windows-server-2008-security-guide.aspx</link><pubDate>Thu, 28 Feb 2008 22:09:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7936911</guid><dc:creator>alikl</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/alikl/comments/7936911.aspx</comments><wfw:commentRss>http://blogs.msdn.com/alikl/commentrss.aspx?PostID=7936911</wfw:commentRss><wfw:comment>http://blogs.msdn.com/alikl/rsscomments.aspx?PostID=7936911</wfw:comment><description>&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc264463.aspx" target="_blank"&gt;Windows Server 2008 Security Guide&lt;/a&gt; is out.&lt;/p&gt;  &lt;p&gt;It covers many crucial aspects but my favorite of course is IIS7 chapter:&lt;/p&gt;  &lt;blockquote&gt;   &lt;h4&gt;&lt;a name="_Toc191716753"&gt;Chapter 6: Hardening&lt;/a&gt;&lt;a name="_Idx118"&gt;&lt;/a&gt; Web Services&lt;/h4&gt;    &lt;p&gt;This chapter provides prescriptive guidance for hardening&lt;a name="_Idx119"&gt;&lt;/a&gt; the Web Server role. The chapter discusses how the Web server role installs Microsoft&amp;#174; Internet Information Services&lt;a name="_Idx120"&gt;&lt;/a&gt; (IIS) 7.0, which has been redesigned into forty modular components that you can choose to install as needed.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;It points to the following resources:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://technet2.microsoft.com/WindowsServer2008/en/library/dbaadb7c-433d-4c88-ab7f-1575258131dc1033.mspx" target="_blank"&gt;IIS 7.0: Configuring Authentication in IIS 7.0&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://technet2.microsoft.com/WindowsServer2008/en/library/2464e39e-2a21-4c7b-907c-ed8b4b4f3d031033.mspx" target="_blank"&gt;IIS 7.0: Configuring IPv4 Address and Domain Name Rules&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://technet2.microsoft.com/WindowsServer2008/en/library/ec81dd52-8ddc-41d3-984f-9f710c21add91033.mspx" target="_blank"&gt;IIS 7.0: Configuring URL Authorization Rules in IIS 7.0&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://technet2.microsoft.com/WindowsServer2008/en/library/bf4afb4c-4ce3-40e1-bd4b-d7df6daeb9b61033.mspx" target="_blank"&gt;IIS 7.0: Configuring Server Certificates in IIS 7.0&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://technet2.microsoft.com/WindowsServer2008/en/library/8ddc1f85-27fb-439d-a3da-ced11f7dcf031033.mspx" target="_blank"&gt;IIS 7.0: Configuring ISAPI and CGI Restrictions in IIS 7.0&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://technet2.microsoft.com/WindowsServer2008/en/library/70c33ea8-4192-4110-be70-a11e11984f1e1033.mspx" target="_blank"&gt;IIS 7.0: Configuring Secure Sockets Layer in IIS 7.0&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://technet2.microsoft.com/WindowsServer2008/en/library/7b4d4d2b-780f-47d5-bc6c-514c65754c521033.mspx" target="_blank"&gt;IIS 7.0: Configuring Request Filters&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://technet2.microsoft.com/WindowsServer2008/en/library/b0a91b50-1582-44b5-b61e-7207e6e1c2d11033.mspx" target="_blank"&gt;IIS 7.0: Configuring Shared Configuration&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=103904" target="_blank"&gt;How to Setup SSL on IIS7&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=94165" target="_blank"&gt;How to Use Request Filtering&lt;/a&gt;&lt;a name="_Idx1510"&gt;&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=86769" target="_blank"&gt;Improving Web Application Security: Threats and Countermeasures&lt;/a&gt;&lt;a name="_Idx1511"&gt;&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://technet2.microsoft.com/windowsserver2008/en/library/939d621e-c023-48f8-9503-47f24a6be7211033.mspx?mfr=true" target="_blank"&gt;IIS 7.0: Configure Web Server Security&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=99832" target="_blank"&gt;Server Core Installation Option of Windows Server 2008 Step-By-Step Guide&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=3655" target="_blank"&gt;Windows Management Instrumentation&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=89710" target="_blank"&gt;Windows Server 2008 Technical Library&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=100617" target="_blank"&gt;Understanding IIS7 URL Authorization&lt;/a&gt;.&lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7936911" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/alikl/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Deployment+Phase/default.aspx">Deployment Phase</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Deployment+Inspection/default.aspx">Deployment Inspection</category><category domain="http://blogs.msdn.com/alikl/archive/tags/IIS+7/default.aspx">IIS 7</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Planning+Phase/default.aspx">Planning Phase</category></item><item><title>IIS 7 Great Finds - How To Setup IIS7 On Vista, Bulk Web Site Creation, ASP.NET Pipeline Integration With IIS7</title><link>http://blogs.msdn.com/alikl/archive/2007/10/06/iis-7-great-finds-how-to-setup-iis7-on-vista-bulk-web-site-creation-asp-net-pipeline-integration-with-iis7.aspx</link><pubDate>Sat, 06 Oct 2007 12:45:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5311500</guid><dc:creator>alikl</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/alikl/comments/5311500.aspx</comments><wfw:commentRss>http://blogs.msdn.com/alikl/commentrss.aspx?PostID=5311500</wfw:commentRss><wfw:comment>http://blogs.msdn.com/alikl/rsscomments.aspx?PostID=5311500</wfw:comment><description>&lt;p&gt;I &lt;a href="http://blogs.msdn.com/alikl/archive/2007/04/07/iis-6-0-was-true-love-new-romance-is-about-to-begin-iis-7.aspx"&gt;started to get used&lt;/a&gt; to new version of IIS7 without installing early builds of Windows Server 2008 but using my Vista machine. IIS7 comes built in, it is just not configured with default installation. Several colleagues asked me to provide them with the step by step how-to for configuring IIS7 on Vista. I was about to post it but Wenlong Dong already has done fantastic job describing it - &lt;a href="http://blogs.msdn.com/wenlong/archive/2006/11/22/iis7-was-installation.aspx" target="_blank"&gt;IIS7/WAS Installation&lt;/a&gt;. His blog is focused on performance too - my new passion. Subscribed!&lt;/p&gt; &lt;p&gt;On&amp;nbsp;Mike Volodarski's blog I found interesting&amp;nbsp;&lt;a href="http://mvolo.com/blogs/serverside/archive/2007/10/06/Create-IIS7-websites-and-application-pools-fast-with-AppCmd.aspx"&gt;Fastest way to create IIS7 websites, applications, and application pools&lt;/a&gt;. Mike's side bar also pointed me to even more interesting article on IIS web site&amp;nbsp;- &lt;a href="http://www.iis.net/articles/view.aspx/IIS7/Hosting-Web-Applications/ASP-NET/ASP-NET-Integration-with-IIS7" target="_blank"&gt;ASP.NET Integration with IIS7&lt;/a&gt;. Subscribed!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5311500" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/alikl/archive/tags/IIS+7/default.aspx">IIS 7</category></item><item><title>IIS 7 Configuration File - applicationHost.config - Password Management</title><link>http://blogs.msdn.com/alikl/archive/2007/04/24/iis-7-configuration-file-applicationhost-config-password-management.aspx</link><pubDate>Tue, 24 Apr 2007 22:52:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2263745</guid><dc:creator>alikl</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/alikl/comments/2263745.aspx</comments><wfw:commentRss>http://blogs.msdn.com/alikl/commentrss.aspx?PostID=2263745</wfw:commentRss><wfw:comment>http://blogs.msdn.com/alikl/rsscomments.aspx?PostID=2263745</wfw:comment><description>&lt;p&gt;From my learning of IIS7 I understand that IIS7's metabase is actually XML configuration file very familiar to me and similar to&amp;nbsp; ASP.NET's web.config. It is called&amp;nbsp;&lt;strong&gt;applicationHost.config&lt;/strong&gt; and sits in &lt;em&gt;C:\Windows\System32\inetsrv\config&lt;/em&gt;&lt;/p&gt; &lt;p&gt;My first interest was to see how&amp;nbsp;it manages passwords when specifying specific accounts for application pool.&lt;/p&gt; &lt;p&gt;I created demo application pool called xxxx, then I created demo account and specified my application pool to run under it. Then I navigated to&amp;nbsp;&lt;em&gt;C:\Windows\System32\inetsrv\config\applicationHost.config&lt;/em&gt; and opened it Notepad. I needed to run Notepad as administrator since UAC prevents from opening it directly into Notepad (I cannot say it about Visual Studio, which opens it gladly without running as Administrator). The following picture depicts what I found there:&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/alikl/WindowsLiveWriter/IIS7_B2A0/image%7B0%7D%5B3%5D.png" atomicselection="true"&gt;&lt;img height="195" src="http://blogs.msdn.com/blogfiles/alikl/WindowsLiveWriter/IIS7_B2A0/image%7B0%7D_thumb%5B1%5D.png" width="530"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Seems like the password encrypted using RSA and the cipher was stored in the config file, not the clear text password.&lt;/p&gt; &lt;p&gt;Very cool.&lt;/p&gt; &lt;p&gt;Where&amp;nbsp;is the key? Digging deeper...&lt;/p&gt; &lt;p&gt;I learned it from:&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.iis.net/News/Item.aspx?i=1174" href="http://www.iis.net/News/Item.aspx?i=1174"&gt;&lt;a title="http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=992&amp;amp;p=3" href="http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=992&amp;amp;p=3"&gt;http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=992&amp;amp;p=3&lt;/a&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=992&amp;amp;p=4" href="http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=992&amp;amp;p=4"&gt;http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=992&amp;amp;p=4&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Enjoy&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2263745" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/alikl/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Sensitive+Data/default.aspx">Sensitive Data</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Deployment+Phase/default.aspx">Deployment Phase</category><category domain="http://blogs.msdn.com/alikl/archive/tags/IIS+7/default.aspx">IIS 7</category></item><item><title>Basic Steps To Make ASP.NET Web Site CardSpace Aware</title><link>http://blogs.msdn.com/alikl/archive/2007/04/09/basic-steps-to-make-asp-net-web-site-cardspace-aware.aspx</link><pubDate>Mon, 09 Apr 2007 15:26:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2060412</guid><dc:creator>alikl</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/alikl/comments/2060412.aspx</comments><wfw:commentRss>http://blogs.msdn.com/alikl/commentrss.aspx?PostID=2060412</wfw:commentRss><wfw:comment>http://blogs.msdn.com/alikl/rsscomments.aspx?PostID=2060412</wfw:comment><description>&lt;p&gt;From short investigation and a lot of information from &lt;a href="http://blogs.msdn.com/richardt/" target="_blank"&gt;Richard Turner's&lt;/a&gt; screencasts&lt;/p&gt; &lt;p&gt;Here is what I get. To make my ASP.NET app I need:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Write ASP.NET server side code to validate the token that holds end user's data, further processing might include checking against membership provider - &lt;a href="http://blogs.msdn.com/richardt/archive/2007/03/18/cardspace-simple-demo-screencast-on-channel9.aspx" target="_blank"&gt;CardSpace Simple Demo screencast on Channel9&lt;/a&gt;&lt;/li&gt; &lt;li&gt;Add client script code to specify CardSpace object and its properties, like required claims. This will trigger CardSpace UI to show up for the end user - &lt;a href="http://blogs.msdn.com/richardt/archive/2007/03/18/cardspace-simple-demo-screencast-on-channel9.aspx" target="_blank"&gt;CardSpace Simple Demo screencast on Channel9&lt;/a&gt;&lt;/li&gt; &lt;li&gt;Configure IIS to require SSL connection - &lt;a href="http://blogs.msdn.com/richardt/archive/2007/03/28/new-screencast-how-to-configure-iis7-for-windows-cardspace-sites.aspx" target="_blank"&gt;New Screencast: How to configure IIS7 for Windows CardSpace sites&lt;/a&gt;&lt;/li&gt; &lt;li&gt;Give application pool account read access to private key for the server cert that actually gives SSL support. This is needed for decrypting the XML token in the server code for its further deserialization - &lt;a href="http://blogs.msdn.com/richardt/archive/2007/04/02/secure-your-private-keys-more-easily-with-vista.aspx"&gt;Secure your private keys more easily with Vista&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I got it right? Forgetting something?&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2060412" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/alikl/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Implementation/default.aspx">Implementation</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Authentication/default.aspx">Authentication</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/alikl/archive/tags/IIS+7/default.aspx">IIS 7</category><category domain="http://blogs.msdn.com/alikl/archive/tags/CardSpace/default.aspx">CardSpace</category></item><item><title>IIS 6.0 Was True Love, New Romance Is About To Begin - IIS 7</title><link>http://blogs.msdn.com/alikl/archive/2007/04/07/iis-6-0-was-true-love-new-romance-is-about-to-begin-iis-7.aspx</link><pubDate>Sun, 08 Apr 2007 00:01:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2047207</guid><dc:creator>alikl</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/alikl/comments/2047207.aspx</comments><wfw:commentRss>http://blogs.msdn.com/alikl/commentrss.aspx?PostID=2047207</wfw:commentRss><wfw:comment>http://blogs.msdn.com/alikl/rsscomments.aspx?PostID=2047207</wfw:comment><description>&lt;p&gt;I just could not hold it back - it is midnight and I am watching &lt;a href="http://blogs.msdn.com/richardt/default.aspx" target="_blank"&gt;Richard Turner's&lt;/a&gt; screencast&amp;nbsp;- &lt;a href="http://blogs.msdn.com/richardt/archive/2007/03/28/new-screencast-how-to-configure-iis7-for-windows-cardspace-sites.aspx" target="_blank"&gt;New Screencast: How to configure IIS7 for Windows CardSpace sites&lt;/a&gt;&lt;/p&gt; &lt;p&gt;It was humiliatingly :) easy to set up test server cert, so I've done it, here is the prove:&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/alikl/WindowsLiveWriter/IIS.0WasTrueLoveExcitedTowardNewRomanceI_14594/image%7B0%7D%5B25%5D.png" atomicselection="true"&gt;&lt;img height="480" src="http://blogs.msdn.com/blogfiles/alikl/WindowsLiveWriter/IIS.0WasTrueLoveExcitedTowardNewRomanceI_14594/image%7B0%7D_thumb%5B19%5D.png" width="577"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Next he talks about how to configure it for CardSpace - I stopped watching since I know if I continue I may end up watching the sun set together with my laptop.&lt;/p&gt; &lt;p&gt;Richard, good job!!&lt;/p&gt; &lt;p&gt;Good night.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2047207" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/alikl/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Deployment+Phase/default.aspx">Deployment Phase</category><category domain="http://blogs.msdn.com/alikl/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/alikl/archive/tags/IIS+7/default.aspx">IIS 7</category></item></channel></rss>