<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://203.81.62.81/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Maung²&amp;#39;s Technical Adventures</title><subtitle type="html" /><id>http://203.81.62.81/blogs/maungmaung/atom.aspx</id><link rel="alternate" type="text/html" href="http://203.81.62.81/blogs/maungmaung/default.aspx" /><link rel="self" type="application/atom+xml" href="http://203.81.62.81/blogs/maungmaung/atom.aspx" /><generator uri="http://communityserver.org" version="4.1.30912.2823">Community Server</generator><updated>2006-12-04T22:10:00Z</updated><entry><title>Tech.Ed SEA 2007 Sessions</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/09/23/Tech.Ed-SEA-2007-Sessions.aspx" /><id>/blogs/maungmaung/archive/2007/09/23/Tech.Ed-SEA-2007-Sessions.aspx</id><published>2007-09-22T17:10:00Z</published><updated>2007-09-22T17:10:00Z</updated><content type="html">&lt;p&gt;Here is the &lt;a href="http://sgdotnet.org/files/folders/maungmaung/category1583.aspx" target="_blank"&gt;links&lt;/a&gt; to download the presentation decks and demo code for my Tech.Ed SEA 2007 sessions.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Web Client Software Factory, The Proven Way&lt;/li&gt;&lt;li&gt;Building Rich Web Applications with ASP.NET AJAX&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;PS: To all Tech.Ed SEA 2007 audience who have attended my sessions, please accept my sincere apologies for the delay on making these materials available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=148186" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Presentation" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Presentation/default.aspx" /><category term="Personal" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Personal/default.aspx" /><category term="Events" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Events/default.aspx" /><category term="TechEd" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/TechEd/default.aspx" /><category term="Seminar" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Seminar/default.aspx" /></entry><entry><title>Blended Express Home-made Applications (JobStreet Presentation)</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/07/14/Blended-Express-Home_2D00_made-Applications-_2800_JobStreet-Presentation_2900_.aspx" /><id>/blogs/maungmaung/archive/2007/07/14/Blended-Express-Home_2D00_made-Applications-_2800_JobStreet-Presentation_2900_.aspx</id><published>2007-07-14T07:53:00Z</published><updated>2007-07-14T07:53:00Z</updated><content type="html">&lt;p&gt;Download the deck and the demo of my presentation &amp;quot;Blended Express Home-made Applications&amp;quot; for JobStreet&amp;nbsp;event held at&amp;nbsp;Microsoft Auditorium.&lt;/p&gt;&lt;p&gt;&lt;a href="http://sgdotnet.org/ControlPanel/Files/FileEditor.aspx?SectionID=137&amp;amp;PostID=132494"&gt;Part 1/4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://sgdotnet.org/ControlPanel/Files/FileEditor.aspx?SectionID=137&amp;amp;PostID=132497"&gt;Part 2/4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://sgdotnet.org/ControlPanel/Files/FileEditor.aspx?SectionID=137&amp;amp;PostID=132499"&gt;Part 3/4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://sgdotnet.org/ControlPanel/Files/FileEditor.aspx?SectionID=137&amp;amp;PostID=132500"&gt;Part 4/4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The compiled executable is not included in the zipped file to reduce the file size.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=133474" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Presentation" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Presentation/default.aspx" /><category term="WinFx" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/WinFx/default.aspx" /><category term="Development Tools" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Development+Tools/default.aspx" /><category term="Events" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Events/default.aspx" /><category term="Seminar" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Seminar/default.aspx" /></entry><entry><title>JobStreet Industry Nites Presentation Deck</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/06/12/JobStreet-Industry-Nites-Presentation-Deck.aspx" /><id>/blogs/maungmaung/archive/2007/06/12/JobStreet-Industry-Nites-Presentation-Deck.aspx</id><published>2007-06-12T05:02:00Z</published><updated>2007-06-12T05:02:00Z</updated><content type="html">&lt;p&gt;I know I can&amp;#39;t give any satisfactory excuse for being unable to make the deck available within the two weeks&amp;nbsp;from my &lt;a href="http://sg.jobstreet.com/career/industry/ind_54.htm"&gt;presentation&lt;/a&gt; date.&lt;/p&gt;&lt;p&gt;Nevertheless, &lt;a href="http://sgdotnet.org/ControlPanel/Files/FileEditor.aspx?SectionID=137&amp;amp;PostID=124470"&gt;here&lt;/a&gt; is the deck in PDF format.&amp;nbsp; If you are keen to get the deck in the original PPT file format, you can try digging &lt;a href="http://www.netfx3.com/"&gt;http://www.netfx3.com/&lt;/a&gt;.&amp;nbsp; There are lots of resources, hands-on-labs, samples, presentation, technical articles, being shared from this official .NET Framework 3.0 site.&lt;/p&gt;&lt;p&gt;If you are keen to get your hands on the demo which I used during my presentation, let me know.&amp;nbsp; I will contact you to pass the demos.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=124469" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Presentation" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Presentation/default.aspx" /><category term="WinFx" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/WinFx/default.aspx" /><category term="Events" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Events/default.aspx" /><category term="Seminar" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Seminar/default.aspx" /></entry><entry><title>LOVE 2007 Windows WF Presentation</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/05/03/LOVE-2007-Windows-WF-Presentation.aspx" /><id>/blogs/maungmaung/archive/2007/05/03/LOVE-2007-Windows-WF-Presentation.aspx</id><published>2007-05-03T15:22:00Z</published><updated>2007-05-03T15:22:00Z</updated><content type="html">&lt;p&gt;As promised, &lt;a href="http://sgdotnet.org/files/folders/maungmaung/entry108761.aspx"&gt;here&lt;/a&gt; is the deck and demo for my Windows WF presentation at LOVE 2007 Singapore.&lt;/p&gt;&lt;p&gt;I greatly appreciate all the attendees for their valuable time and undivided attention given during my session.&lt;/p&gt;&lt;p&gt;Following up from my presentation, you can learn more about Windows Workflow Foundation from the following resources.&lt;/p&gt;&lt;p&gt;&lt;a href="https://www.microsoftelearning.com/eLearning/courseDetail.aspx?courseId=67819"&gt;FREE one-year Subscription for Windows WF eLearning (Clinic 5136)&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wf.netfx3.com/"&gt;Official Windows WF Community Site&lt;/a&gt;&lt;br /&gt;&lt;a href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=122&amp;amp;SiteID=1"&gt;Windows WF on MSDN Forums&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=2e575633-e357-4ee7-aaff-34138f00e830&amp;amp;displaylang=en"&gt;Hands-on Labs for Windows&amp;reg; Workflow Foundation&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=108762" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Presentation" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Presentation/default.aspx" /><category term="WinFx" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/WinFx/default.aspx" /><category term="Development Tools" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Development+Tools/default.aspx" /><category term="Events" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Events/default.aspx" /><category term="Seminar" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Seminar/default.aspx" /></entry><entry><title>Protect Your Web Site with Asirra</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/04/25/Protect-Your-Web-Site-with-Asirra.aspx" /><id>/blogs/maungmaung/archive/2007/04/25/Protect-Your-Web-Site-with-Asirra.aspx</id><published>2007-04-25T12:25:00Z</published><updated>2007-04-25T12:25:00Z</updated><content type="html">&lt;p&gt;All web applications exposed on the Internet are vulnerable to brute-force password cracking, spammed posting, or denial of service attacks.&lt;/p&gt;&lt;p&gt;The solution to prevent such attacks is to use &lt;a href="http://www.captcha.net/"&gt;CAPTCHA&lt;/a&gt; (Completely Automated Public Turing test to tell Computers and Humans Apart) or HIP (Human Interactive Proof).&amp;nbsp; One of the most commonly used techniques is requiring the user to identify the letters or digits from the randomly generated, distorted or obscured pictures.&amp;nbsp; This technique is only effective if you have extremely large number of pictures, which make impossible for the attacker to reconstruct the image database.&amp;nbsp; Otherwise, the attacker can easily analyze and hard code all the possible combination of letters or digits in the attack program and easily bypass your HIP protection.&lt;/p&gt;&lt;p&gt;So, you might be wondering how one can handle such security issue and protect their web applications effectively. Worry not!&lt;/p&gt;&lt;p&gt;&lt;img src="http://sgdotnet.org/photos/maungmaung/images/105985/original.aspx" alt="Asirra" title="Asirra" hspace="10" width="255" height="200" align="left" /&gt;&lt;/p&gt;&lt;p&gt;Here is the solution, &lt;a href="http://research.microsoft.com/asirra/"&gt;Asirra&lt;/a&gt;&amp;nbsp;(Animal Species Image Recognition for Restricting Access), a research project from Microsoft and its partner &lt;a href="http://www.petfinder.com/"&gt;PetFinder.com&lt;/a&gt;, and currently it is available for beta testing.&amp;nbsp; It is available as free web service and you can easily integrate with your web applications built on any platform.&lt;/p&gt;&lt;p&gt;Asirra will randomly display 12 pictures of cats and dogs from the large image&amp;nbsp;database and requires&amp;nbsp;the user to simply&amp;nbsp;identify either all the cats or dogs pictures.&amp;nbsp; If only one picture were displayed, attacker has 50% chance of guessing it right, but fortunately, requiring the attacker to select all cats or dogs from 12 given pictures will greatly reduce the probability to 1/4096 chance.&amp;nbsp; There were similar HIP solutions which use animal pictures to tell Human&amp;nbsp;and Computers apart, but they were not successful due to relatively small image databases as compared to Asirra, which has more than 2 million images of cats and dogs.&lt;/p&gt;&lt;p&gt;Visit &lt;a href="http://research.microsoft.com/asirra/"&gt;Microsoft Research&lt;/a&gt; site to learn more about Asirra and try it out yourself how Asirra works.&lt;/p&gt;&lt;p&gt;Here is an extract from Microsoft Research site.&lt;/p&gt;&lt;blockquote style="border:gray 1px solid;padding:10px;"&gt;&lt;p&gt;Asirra consists of two components: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;A JavaScript client component that you add to your web page inside a form. Our code will add an Asirra challenge to your web page. If the challenge is solved correctly, the client code gets an Asirra Ticket from our server, and adds it to your form as a hidden input field.&lt;/li&gt;&lt;li&gt;A web service at Microsoft Research that your form processor should call each time a user form is submitted, to check that the ticket provided is valid.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The JavaScript works in all major browsers; it has been tested in IE6, IE7, Firefox 2, Safari, and Opera 9. &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Don&amp;rsquo;t forget you are not just securing your web&amp;nbsp;applications, but also you are helping those cute little animals to find their next owner and the home-sweet-home.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=105984" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Best Practices" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Best+Practices/default.aspx" /><category term="Security" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Security/default.aspx" /><category term="ASP.NET 2.0" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/ASP.NET+2.0/default.aspx" /><category term="Beta" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Beta/default.aspx" /><category term="Development Tools" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Development+Tools/default.aspx" /><category term="Web Service" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Web+Service/default.aspx" /></entry><entry><title>Windows Vista Harden Security (Part 3)</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/03/30/Windows-VIsta-Harden-Security-_2800_Part-3_2900_.aspx" /><id>/blogs/maungmaung/archive/2007/03/30/Windows-VIsta-Harden-Security-_2800_Part-3_2900_.aspx</id><published>2007-03-30T03:52:00Z</published><updated>2007-03-30T03:52:00Z</updated><content type="html">&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;Various Microsoft Windows Operating Systems support varieties of network authentication protocols, such as LM (LAN Manager), NTLM, NTLMv2 and Kerberos.&lt;span&gt;&amp;nbsp; &lt;/span&gt;The obvious thing is that the older OS won&amp;rsquo;t be able to use the newer and more secure authentication protocols such as NTLMv2 and Kerberos, unless they are upgraded with service packs, or patches (only if made available by Microsoft) to support the newer technologies.&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;The less obvious issue is that the newer operating system, especially Windows Vista, which we expect to be backward compatible with all the older and less secure authentication protocols, such as LM and NTLM.&lt;span&gt;&amp;nbsp; &lt;/span&gt;But that wasn&amp;rsquo;t the case with Windows Vista because Microsoft has decided to disable those protocols, by default, in view of reducing attack surface area in this release of Windows.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Well, that&amp;rsquo;s expected as Microsoft is putting all the security best practices in place in their product development lifecycle.&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;So what is the problem?&lt;span&gt;&amp;nbsp; &lt;/span&gt;If you have any system or device, such as&amp;nbsp;old&amp;nbsp;Network Attached Storage (NAS) device, Macintosh, or Samba, that does not support NTLMv2, you cannot access to those file shares using Windows Vista, where you were able to do so in Windows XP.&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;The solution is fairly simple.&lt;span&gt;&amp;nbsp; &lt;/span&gt;We just need to configure Windows Vista local security policy to accept/response to LM and NTLM challenge.&lt;span&gt;&amp;nbsp; &lt;/span&gt;The default LAN Manager Authentication level in Windows XP is &amp;ldquo;Send LM &amp;amp; NTLM responses&amp;rdquo; but in Windows Vista, it has been defaulted to &amp;ldquo;Send NTMLv2 response only&amp;rdquo;, thus,&amp;nbsp;denying access to the systems that do not support NTLMv2 authentication challenge.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Follow the below steps to configure Windows Vista Local Security Policy to response to LM and NTLM.&lt;/p&gt;&lt;ol&gt;&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;tab-stops:list .5in;"&gt;Go to &lt;strong&gt;Start Menu&lt;/strong&gt;, and type &lt;strong&gt;secpol.msc&lt;/strong&gt; in the &lt;strong&gt;Start Search&lt;/strong&gt; and press &amp;lt;ENTER&amp;gt;.&lt;br /&gt;There might be an &lt;strong&gt;UAC&lt;/strong&gt; elevation prompt.&amp;nbsp; Just allow the action and proceed with the next step.&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;tab-stops:list .5in;"&gt;Under &lt;strong&gt;Security Settings&lt;/strong&gt; in Local Security Policy Editor, expand &lt;strong&gt;Local Policies&lt;/strong&gt;, select Security &lt;strong&gt;Options&lt;/strong&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;tab-stops:list .5in;"&gt;In the right pane, double-click on the setting &amp;ldquo;&lt;strong&gt;Network Security: LAN Manager authentication level&lt;/strong&gt;&amp;rdquo;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;tab-stops:list .5in;"&gt;Set its value to &amp;ldquo;&lt;strong&gt;Send NTLM response only&lt;/strong&gt;&amp;rdquo; or even lower if necessary (at your own discretion).&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;tab-stops:list .5in;"&gt;Click &lt;strong&gt;OK&lt;/strong&gt; and run &lt;strong&gt;gpupdate&lt;/strong&gt; command to refresh the new configured security policy. &lt;/li&gt;&lt;/ol&gt;&lt;p style="margin:0in 0in 10pt;line-height:normal;" class="MsoNormal"&gt;After the refresh, you should be able to connect to your NAS devices, Mac OS or&amp;nbsp;Samba share folders&amp;nbsp;with no difficulty.&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;line-height:normal;" class="MsoNormal"&gt;Here is an alternative solution to those who can&amp;#39;t get their hands on secpol.msc (Vista Home Basic/Premium users), but this solution involves risk as you will need to edit registry value directly.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;Launch &amp;quot;Registry Editor&amp;quot; (&lt;strong&gt;regedit.exe&lt;/strong&gt;)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;Navigate to &lt;strong&gt;HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;Create &lt;strong&gt;DWORD&lt;/strong&gt; registry value and name it &amp;quot;&lt;strong&gt;LMCompatibilityLevel&lt;/strong&gt;&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;Set its value to &lt;strong&gt;2&lt;/strong&gt; (Send NTML response only) or lower &lt;strong&gt;1/&lt;/strong&gt;&lt;strong&gt;0&lt;/strong&gt; (again at your own discretion)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;Quit the Registry Editor&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin:0in 0in 10pt;line-height:normal;" class="MsoNormal"&gt;More information on &lt;strong&gt;LMCompatibilityLevel&lt;/strong&gt; values, check out the below links.&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;line-height:normal;" class="MsoNormal"&gt;&lt;a href="http://support.microsoft.com/kb/239869"&gt;http://support.microsoft.com/kb/239869&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;line-height:normal;" class="MsoNormal"&gt;&lt;a href="http://www.microsoft.com/technet/technetmag/issues/2006/08/SecurityWatch/"&gt;http://www.microsoft.com/technet/technetmag/issues/2006/08/SecurityWatch/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=98532" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Security" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Security/default.aspx" /><category term="Windows Vista" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Windows+Vista/default.aspx" /><category term="Authentication" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Authentication/default.aspx" /><category term="Experience" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Experience/default.aspx" /></entry><entry><title>Windows Vista Harden Security (Part 2)</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/03/29/Windows-Vista-Harden-Security-_2800_Part-2_2900_.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="528" href="http://203.81.62.81/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.09.83.37/SSL_2D00_With_2D00_DES_2D00_Support.zip" /><id>/blogs/maungmaung/archive/2007/03/29/Windows-Vista-Harden-Security-_2800_Part-2_2900_.aspx</id><published>2007-03-29T15:22:00Z</published><updated>2007-03-29T15:22:00Z</updated><content type="html">&lt;p&gt;If you are using Windows Vista as your primary operating system, you are likely to encounter problem in accessing some SSL enabled sites, which you have been surfing smoothly using Windows XP in the past.&amp;nbsp; Internet Explorer 7 in Windows Vista will simply throw an error message saying &amp;quot;Internet Explorer cannot display the webpage&amp;rdquo; when you browse to certain HTTPS URLs.&amp;nbsp; I am NOT talking about the warning of an un-trusted or an expired certificate.&amp;nbsp; If you encounter this problem before, you know how frustrating you can get. ;)&lt;/p&gt;&lt;p&gt;To understand this problem, let&amp;#39;s start with the fundamentals of SSL communication.&lt;/p&gt;&lt;p&gt;SSL communication starts with a simple handshake between server and client, in which, asymmetric encryption is used to exchange symmetric encryption key or also known as session key.&amp;nbsp; Session key is used in subsequent communication between client and server to encrypt and sign the HTTP packets.&amp;nbsp; SSL has been evolved over many versions, starting from 1.0, then 2.0 and now we have SSL 3.0 as well as TLS 1.0, also known as SSL/TLS.&amp;nbsp; Both SSL 3.0 (&lt;a href="http://home.netscape.com/eng/ssl3/draft302.txt"&gt;http://home.netscape.com/eng/ssl3/draft302.txt&lt;/a&gt;), and TLS 1.0 (RFC2246) with INTERNET-DRAFT allow different asymmetric / symmetric encryption and hashing algorithm to be used within SSL/TLS session.&lt;/p&gt;&lt;p&gt;In Windows Vista operating system, cipher suites &amp;ndash; pre-defined combination of encryption and hashing algorithm use for SSL communication, that uses DES encryption are disabled by default, thus, browsing to SSL sites which supports only DES encryption will result in the above-mentioned error.&lt;/p&gt;&lt;p&gt;The ideal solution would be to reconfigure the web site to support other encryption algorithm such as AES, or 3DES other than the DES.&amp;nbsp; But unfortunately, we won&amp;rsquo;t have much say over how the web server is setup or being configured, and hence, the only workaround is to configure our Windows Vista to support DES encryption over SSL/TLS communication till the SSL site is updated to use other algorithms.&lt;/p&gt;&lt;p&gt;To enable DES support for SSL/TLS in Windows Vista, try the following steps at your own discretion.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Go to&lt;strong&gt; Start Menu&lt;/strong&gt;, and type &lt;strong&gt;gpedit.msc&lt;/strong&gt; in the &lt;strong&gt;Start Search&lt;/strong&gt; and press &amp;lt;ENTER&amp;gt;.&lt;br /&gt;There might be an &lt;strong&gt;UAC&lt;/strong&gt; elevation prompt.&amp;nbsp; Just allow the action and proceed with the next step.&lt;/li&gt;&lt;li&gt;Under &lt;strong&gt;Computer Configuration&lt;/strong&gt; in Group Policy Object Editor, expand &lt;strong&gt;Administrative Templates&lt;/strong&gt;, expand &lt;strong&gt;Network&lt;/strong&gt;, expand &lt;strong&gt;SSL Configuration Settings&lt;/strong&gt;, and then double-click &lt;strong&gt;SSL Cipher Suite Order&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Select &lt;strong&gt;Enable&lt;/strong&gt; and append &amp;ldquo;TLS_RSA_WITH_DES_CBC_SHA,SSL_RSA_WITH_DES_CBC_SHA,&amp;rdquo; at the &lt;strong&gt;beginning&lt;/strong&gt; of the pre-populated string value. Beware of the ending comma and there should not be any embedded space inside the string.&lt;/li&gt;&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt; and &lt;strong&gt;restart&lt;/strong&gt; your computer. (Note: &lt;strong&gt;gpupdate&lt;/strong&gt; command will update the Group Policy settings but reconfiguration of SChannel.dll requires restart.)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;font face="Calibri" size="2" color="#000000"&gt;&lt;span style="font-size:11pt;color:black;"&gt;Here is an alternative solution to those who can&amp;#39;t get their hands on gpedit.msc (Vista Home Basic/Premium users), but this solution involves risk as you will need to edit registry value directly.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;div style="margin-bottom:10pt;"&gt;&lt;ol&gt;&lt;li class="MsoNormal" style="color:black;"&gt;&lt;font face="Calibri" size="2" color="#000000"&gt;&lt;span style="font-size:11pt;"&gt;Launch &amp;quot;Registry Editor&amp;quot; (&lt;strong&gt;&lt;strong&gt;&lt;font face="Calibri"&gt;&lt;span style="font-family:Calibri;"&gt;regedit.exe&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/strong&gt;)&lt;/span&gt;&lt;/font&gt; &lt;/li&gt;&lt;li class="MsoNormal" style="color:black;"&gt;&lt;font face="Calibri" size="2" color="#000000"&gt;&lt;span style="font-size:11pt;"&gt;Navigate to &lt;font face="Calibri"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Cryptography\&lt;br /&gt;Configuration\SSL\00010002&lt;br /&gt;&lt;/strong&gt;(If the key does not exist, you will have to create accordingly)&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color:black;"&gt;&lt;font face="Calibri" size="2" color="#000000"&gt;&lt;span style="font-size:11pt;"&gt;Create &lt;strong&gt;&lt;strong&gt;&lt;font face="Calibri"&gt;&lt;span style="font-family:Calibri;"&gt;String &lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/strong&gt;registry value and name it &amp;quot;&lt;strong&gt;&lt;strong&gt;&lt;font face="Calibri"&gt;&lt;span style="font-family:Calibri;"&gt;Functions&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/strong&gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color:black;"&gt;&lt;font face="Calibri" size="2" color="#000000"&gt;&lt;span style="font-size:11pt;"&gt;Set its value to&lt;br /&gt;&amp;quot;&lt;font face="Calibri"&gt;&lt;span style="font-family:Calibri;"&gt;TLS_RSA_WITH_DES_CBC_SHA,&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri" size="2" color="#000000"&gt;&lt;span style="font-size:11pt;"&gt;&lt;font face="Calibri"&gt;&lt;span style="font-family:Calibri;"&gt;TLS_RSA_WITH_AES_128_CBC_SHA,&lt;br /&gt;TLS_RSA_WITH_AES_256_CBC_SHA,&lt;br /&gt;TLS_RSA_WITH_RC4_128_SHA,&lt;br /&gt;TLS_RSA_WITH_3DES_EDE_CBC_SHA,&lt;br /&gt;TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P256,&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri" size="2" color="#000000"&gt;&lt;span style="font-size:11pt;"&gt;&lt;font face="Calibri"&gt;&lt;span style="font-family:Calibri;"&gt;TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P384,&lt;br /&gt;TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P521,&lt;br /&gt;TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P256,&lt;br /&gt;TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P384,&lt;br /&gt;TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P521,&lt;br /&gt;TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256,&lt;br /&gt;TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P384,&lt;br /&gt;TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P521,&lt;br /&gt;TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256,&lt;br /&gt;TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384,&lt;br /&gt;TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P521,&lt;br /&gt;TLS_DHE_DSS_WITH_AES_128_CBC_SHA,&lt;br /&gt;TLS_DHE_DSS_WITH_AES_256_CBC_SHA,&lt;br /&gt;TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,&lt;br /&gt;TLS_RSA_WITH_RC4_128_MD5,&lt;br /&gt;SSL_CK_RC4_128_WITH_MD5,&lt;br /&gt;SSL_CK_DES_192_EDE3_CBC_WITH_MD5,&lt;br /&gt;TLS_RSA_WITH_NULL_MD5,TLS_RSA_WITH_NULL_SHA&amp;quot;&lt;br /&gt;(&lt;strong&gt;There should not be any line break nor embeded space&lt;/strong&gt;)&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color:black;"&gt;&lt;font face="Calibri" size="2" color="#000000"&gt;&lt;span style="font-size:11pt;"&gt;Quit the Registry Editor&lt;/span&gt;&lt;/font&gt; and &lt;strong&gt;restart&lt;/strong&gt; the system&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;p style="color:black;" class="MsoNormal"&gt;If you trust me &lt;img src="http://sgdotnet.org/emoticons/emotion-5.gif" alt="Wink" /&gt;, you can download the attachment from this post and apply the registry patch. That would be the easiest way.&lt;/p&gt;&lt;p&gt;After the restart, you should be able to happily browse the SSL sites which you were not able to do so in Windows Vista.&lt;/p&gt;&lt;p&gt;References:&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/929708"&gt;http://support.microsoft.com/kb/929708&lt;/a&gt;&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/245030"&gt;http://support.microsoft.com/kb/245030&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This is the price you have to pay for more secure operating system.&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=98337" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Security" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Security/default.aspx" /><category term="Windows Vista" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Windows+Vista/default.aspx" /><category term="Internet Explorer" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Internet+Explorer/default.aspx" /><category term="Experience" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Experience/default.aspx" /><category term="SSL" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/SSL/default.aspx" /></entry><entry><title>TechEd SEA 2007 is coming back!</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/03/17/TechEd-SEA-2007-is-coming-back_2100_.aspx" /><id>/blogs/maungmaung/archive/2007/03/17/TechEd-SEA-2007-is-coming-back_2100_.aspx</id><published>2007-03-16T18:37:00Z</published><updated>2007-03-16T18:37:00Z</updated><content type="html">&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&amp;nbsp;&lt;img style="width:650px;height:210px;" src="http://www.microsoft.com/malaysia/techedsea2007/images/techedsea2007_cs.gif" border="0" alt="TechEd SEA 2007 - Prepare to make you mark" title="TechEd SEA 2007 - Prepare to make you mark" width="650" height="210" /&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;TechEd SEA 2007 is back again! Make yourself available from 11th Sept 2007 to 13th Sept 2007. Yes, this event will again be traditionally hosted in Kuala Lumpur, Malaysia.&lt;span&gt;&amp;nbsp; &lt;/span&gt;What can you expect this time round?&lt;/p&gt;&lt;p style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&amp;middot;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;You can update yourself with newly released products such as Windows Vista, Exchange Server 2007, ASP.NET AJAX, and the 2007 release of Microsoft Office along with content about upcoming releases such as Windows Server code name &amp;quot;Longhorn&amp;quot;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&amp;middot;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;You can choose from 6 technical tracks with more than 100 breakout sessions&lt;/p&gt;&lt;p style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&amp;middot;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;You can experience 120 Hands-on Labs &amp;amp; Instructor-Led Labs at more than 100 stations&lt;/p&gt;&lt;p style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&amp;middot;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;You can meet 2,000 IT pros and developers with 2,000 opinions to consider&lt;/p&gt;&lt;p style="margin:0in 0in 10pt 0.5in;text-indent:-0.25in;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&amp;middot;&lt;span style="font:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;You can mix around with Microsoft product team members and industry gurus&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;Early bird registration price is RM599.&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;Crystal Edge Sdn Bhd. will be providing all official registration services just as last year event.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Here are the contact details:&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;Event Email: &lt;a href="mailto:techedsea@crystaledge.net"&gt;&lt;span style="color:windowtext;text-decoration:none;text-underline:none;"&gt;techedsea@crystaledge.net&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;Malaysia Telephone: +60 (3)-7958 5155&lt;br /&gt;Malaysia Fax: +60 (3)-7954 4037&lt;br /&gt;Office Hours: Monday till Friday 9:00am - 5:00pm (GMT+08:00) Kuala Lumpur&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;Official TechEd SEA 2007 site: &lt;a href="http://www.microsoft.com/malaysia/techedsea2007/"&gt;http://www.microsoft.com/malaysia/techedsea2007/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=94598" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Presentation" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Presentation/default.aspx" /><category term="Events" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Events/default.aspx" /><category term="TechEd" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/TechEd/default.aspx" /><category term="Seminar" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Seminar/default.aspx" /></entry><entry><title>Multiple Network Adapters May Cause Socket Operation Failure</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/03/17/Multiple-Network-Adapters-May-Cause-Socket-Operation-Failure.aspx" /><id>/blogs/maungmaung/archive/2007/03/17/Multiple-Network-Adapters-May-Cause-Socket-Operation-Failure.aspx</id><published>2007-03-16T16:42:00Z</published><updated>2007-03-16T16:42:00Z</updated><content type="html">&lt;p&gt;This applies to &lt;strong&gt;.NET&lt;/strong&gt; &lt;strong&gt;Framework&lt;/strong&gt; &lt;strong&gt;1.1&lt;/strong&gt;.&amp;nbsp; If your computer has multiple network adapters resulting in more than 50 network bound protocols, you will receive error while trying to perform network operations, directly or indirectly,&amp;nbsp;using System.Net.Socket class, such as&amp;nbsp;consuming XML web services.&lt;/p&gt;&lt;p&gt;My personal experience&amp;nbsp;was&amp;nbsp;quite frustrating.&amp;nbsp; I was trying to add Web Reference in&amp;nbsp;Visual Studio 2003 by entering the web service Url, but it took a very long time and the control didn&amp;#39;t return to Visual Studio 2003.&amp;nbsp; After waited for some time, I decided to manually stop the operation.&lt;/p&gt;&lt;p&gt;And&amp;nbsp;I tried&amp;nbsp;to use wsdl.exe to&amp;nbsp;generate proxy class and I got this exception.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Unhandled Exception: System.TypeInitializationException: The type initializer for &amp;quot;System.Net.Sockets.Socket&amp;quot; threw an exception. ---&amp;gt; System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full at System.Net.Sockets.Socket.InitializeSockets() at System.Net.Sockets.Socket..cctor()&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;After some googling, I managed to find the solution to my problem.&amp;nbsp;&amp;nbsp;Multiple network adapters with more than 50 protocol bindings (I didn&amp;#39;t actually count them though)&amp;nbsp;were&amp;nbsp;causing&amp;nbsp;the unpatched .NET Framework 1.1 to throw&amp;nbsp;the above&amp;nbsp;exception.&amp;nbsp; I immediately uninstalled some unused adpaters (of course temporarily). I&amp;nbsp;tried again and finally managed to get it work.&lt;/p&gt;&lt;p&gt;For more information, check out the site below.&lt;/p&gt;&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/815209"&gt;http://support.microsoft.com/kb/815209&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/826757"&gt;http://support.microsoft.com/kb/826757&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Happy patching...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=94573" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Visual Studio" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Visual+Studio/default.aspx" /><category term="Experience" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Experience/default.aspx" /><category term="Bug Fix" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Bug+Fix/default.aspx" /><category term="Web Service" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Web+Service/default.aspx" /></entry><entry><title>Multiple (SSL) Web Sites in IIS (Part 2)</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/01/22/Multiple-_2800_SSL_2900_-Web-Sites-in-IIS-_2800_Part-2_2900_.aspx" /><id>/blogs/maungmaung/archive/2007/01/22/Multiple-_2800_SSL_2900_-Web-Sites-in-IIS-_2800_Part-2_2900_.aspx</id><published>2007-01-22T09:01:00Z</published><updated>2007-01-22T09:01:00Z</updated><content type="html">&lt;p&gt;Stop!&amp;nbsp; Have you read my previous post on &amp;ldquo;&lt;a href="http://sgdotnet.org/blogs/maungmaung/archive/2007/01/03/Multiple-Web-Sites-in-IIS-_2800_Part-1_2900_-.aspx"&gt;Multiple Web Sites in IIS &amp;ndash; Part 1&lt;/a&gt;&amp;rdquo;?&amp;nbsp; If you have not, I strongly recommend that you spend some time reading my previous post.&lt;/p&gt;&lt;p&gt;As I&amp;rsquo;ve discussed in my previous post, you can configure IIS to host multiple web sites in varieties of techniques.&amp;nbsp; The next thing you might want to do is to configure SSL on those web sites.&lt;/p&gt;&lt;p&gt;If you are using unique IP addresses for each web site, you can have port 443, default SSL port, for all the web sites at the cost of maintaining and securing multiple IP addresses on the server.&lt;/p&gt;&lt;p&gt;If you are using a single shared IP address, then you will have to configure different SSL ports on each web site, which will result in unfriendly URL addresses, such as &amp;ldquo;https://www.maungphyo.com:444/default.aspx&amp;rdquo;.&lt;/p&gt;&lt;p&gt;If you are not keen in managing multi-home web server, or dislike the idea of having unfriendly URL addresses, the last implementation technique you can depend on is to use custom host headers.&amp;nbsp; But how?&amp;nbsp; If you go to Web Site Properties dialog and click on &amp;ldquo;Advanced&amp;rdquo; button on &amp;ldquo;Web Site&amp;rdquo; tab, you will instantly realize that there is no place for you to configure custom host header for SSL bindings.&lt;/p&gt;&lt;p&gt;You can configure custom host header for SSL bindings only using command line tool (technically speaking, it is the script file provided with default IIS installation), or other tools such as Metabase Explorer from &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=56FC92EE-A71A-4C73-B628-ADE629C89499&amp;amp;displaylang=en"&gt;IIS Resource Kit&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Here is the procedure for enabling custom host headers in SSL sites.&lt;/p&gt;&lt;p&gt;1) Firstly, find out the Metabase Path of the site to be configured.&amp;nbsp; &amp;quot;iisweb.vbs&amp;quot; is in %SystemRoot%\System32.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;C:\&amp;gt;&lt;strong&gt;iisweb.vbs /query&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;For instance, metabase path for &amp;ldquo;Default Web Site&amp;rdquo; is &amp;ldquo;W3SVC/1&amp;rdquo;.&lt;/p&gt;&lt;p&gt;2) Navigate to folder where the Visual Basic admin scripts are stored.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;C:\&amp;gt;&lt;strong&gt;CD\Inetpub\AdminScripts&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;3) Set the metabase property &amp;ldquo;SecureBindings&amp;rdquo; using &amp;ldquo;AdsUtil.vbs&amp;rdquo; to any desired value. Take note of the starting character &amp;ldquo;:&amp;rdquo;.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;C:\Inetpub\ AdminScripts&amp;gt;&lt;strong&gt;AdsUtil.vbs SET W3SVC/1/SecureBindings &amp;ldquo;:443:www.maungphyo.com&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;4) You can repeat it for all the sites, using the default SSL port 443 with different custom host headers.&lt;/p&gt;&lt;p&gt;Just remember one thing, on Windows Server 2003 with Service Pack 1, you will need to add all the custom host headers to &amp;ldquo;&lt;strong&gt;BackConnectionHostNames&lt;/strong&gt;&amp;rdquo; registry key in order to work with Integrated Windows Authentication on those host headers enable site.&amp;nbsp; Read my previous post &amp;quot;&lt;a href="http://sgdotnet.org/blogs/maungmaung/archive/2007/01/03/IIS-Security-Enhancement-in-Windows-Server-2003-SP1.aspx"&gt;IIS Security Enhancement in Windows Server 2003 SP1&lt;/a&gt;&amp;quot;on this issue.&lt;/p&gt;&lt;p&gt;Good luck!&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=70712" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Security" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Security/default.aspx" /><category term="Authentication" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Authentication/default.aspx" /><category term="IIS" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/IIS/default.aspx" /></entry><entry><title>Orcas January 2007 CTP (Installable Bit)</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/01/13/Orcas-January-2007-CTP-_2800_Installable-Bit_2900_.aspx" /><id>/blogs/maungmaung/archive/2007/01/13/Orcas-January-2007-CTP-_2800_Installable-Bit_2900_.aspx</id><published>2007-01-13T03:53:00Z</published><updated>2007-01-13T03:53:00Z</updated><content type="html">&lt;p&gt;I am not really a big fan of virtualization technologies and I have been waiting for the installable bit of Visual Studio codename &amp;#39;Orcas&amp;#39;.&amp;nbsp; Yes! Finally... &lt;/p&gt;&lt;p&gt;I am very glad to see Microsoft has released installable bit of the next version of Visual Studio codename &amp;#39;Orcas&amp;#39; together with the usual Virtual PC image release.&lt;/p&gt;&lt;p&gt;Installable Bit download: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=69055927-458B-4129-9047-FCC4FACAE96C&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=69055927-458B-4129-9047-FCC4FACAE96C&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Virtual PC Image download: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=1FF0B35D-0C4A-40B4-915A-5331E11C39E6&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=1FF0B35D-0C4A-40B4-915A-5331E11C39E6&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Above&amp;nbsp;are the links for the public downloads which&amp;nbsp;are divided into&amp;nbsp;multiple parts for your own convenience.&amp;nbsp; The filenames says it is Dec2006 CTP although the heading clearly stated that it is January 2007.&amp;nbsp; But who cares...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=67712" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Personal" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Personal/default.aspx" /><category term="Beta" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Beta/default.aspx" /><category term="Development Tools" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Development+Tools/default.aspx" /><category term="Visual Studio" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>Multiple Web Sites in IIS (Part 1) </title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/01/03/Multiple-Web-Sites-in-IIS-_2800_Part-1_2900_-.aspx" /><id>/blogs/maungmaung/archive/2007/01/03/Multiple-Web-Sites-in-IIS-_2800_Part-1_2900_-.aspx</id><published>2007-01-03T10:34:00Z</published><updated>2007-01-03T10:34:00Z</updated><content type="html">&lt;p&gt;Microsoft Internet Information Services can be configured to host multiple web sites.&amp;nbsp; I knew everybody knew this. &lt;img src="http://sgdotnet.org/emoticons/emotion-20.gif" alt="Sleep" /&gt;&lt;/p&gt;&lt;p&gt;So why am I wasting my time writing this? Or why should you waste your time reading this? Well... I am just trying to make sure that you are ready for my Part 2, in which I will be discussing multiple SSL sites configuration on the same server.&amp;nbsp; You should read this to understand the basics before proceeding to part 2.&lt;/p&gt;&lt;p&gt;Multiple web sites can be hosted in IIS using one of the following techniques.&lt;/p&gt;&lt;p&gt;1) Using a&amp;nbsp;single IP address with different port numbers assigned to each site, meaning that you can only have one site running with the default TCP port 80.&amp;nbsp; Other sites using non-default port will have to be accessed using unfriendly URLs, such as http://www.mydomain.com:70.&amp;nbsp; Another drawback of this technique is that it violates the security best practices as your firewall will be required to&amp;nbsp;allow all the incoming traffics for all the ports that&amp;nbsp;are used by your server.&amp;nbsp;&amp;nbsp;To implement this technique, assign an unique port number to each site in the Web Site Properties dialog.&lt;/p&gt;&lt;p&gt;2) Another technique is&amp;nbsp;to use multiple IP addresses with different sites running on the default port.&amp;nbsp; Firstly, you will need to configure your server with multiple IP addresses in Network Connection properties. Then, assign an unique&amp;nbsp;IP address to each site in the Web Site Properties dialog.&amp;nbsp; Managing of multiple addresses allocation for the server requires additional administrative task.&amp;nbsp; The more IP addresses the server is allocated, the larger is the attack surface, thus, it&amp;nbsp;is not recommended (by me &lt;img src="http://sgdotnet.org/emoticons/emotion-5.gif" alt="Wink" /&gt;).&amp;nbsp; Furthermore, if you are using public IP addresses, you will have to waste additional IP addresses for the server.&lt;/p&gt;&lt;p&gt;3) The last one is my favorite as we can use&amp;nbsp;a single IP address and yet all the&amp;nbsp;sites running with the default TCP port 80. All we&amp;nbsp;need&amp;nbsp;is to configure an unique&amp;nbsp;host header for each site.&amp;nbsp; Click &amp;quot;Advanced...&amp;quot; button on Web Site Properties dialog to&amp;nbsp;configure host header for&amp;nbsp;each site.&amp;nbsp; You will just need to register multiple host records in the DNS server to map all the host names to the same IP address.&amp;nbsp; But using this technique will&amp;nbsp;have an issue using Integrated Windows Authentication on the web site due to Windows Server 2003 Service Pack 1 enhancement.&amp;nbsp; I have posted something on &lt;a href="http://sgdotnet.org/blogs/maungmaung/archive/2007/01/03/IIS-Security-Enhancement-in-Windows-Server-2003-SP1.aspx"&gt;IIS Security Enhancement in Windows Server 2003 Service Pack 1&lt;/a&gt;&amp;nbsp;for your reference. &lt;/p&gt;&lt;p&gt;Try these out and see which one best fits your requirements!&lt;/p&gt;&lt;p&gt;Stay tuned for Part 2 on which I will be discussing&amp;nbsp;the options to&amp;nbsp;host multiple SSL sites on the same IIS server.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=64249" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Security" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Security/default.aspx" /><category term="Authentication" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Authentication/default.aspx" /><category term="IIS" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/IIS/default.aspx" /></entry><entry><title>IIS Security Enhancement in Windows Server 2003 SP1</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2007/01/03/IIS-Security-Enhancement-in-Windows-Server-2003-SP1.aspx" /><id>/blogs/maungmaung/archive/2007/01/03/IIS-Security-Enhancement-in-Windows-Server-2003-SP1.aspx</id><published>2007-01-03T09:35:00Z</published><updated>2007-01-03T09:35:00Z</updated><content type="html">&lt;p&gt;Ever wonder why Integrated Windows Authentication (IWA) does not work or stops working&amp;nbsp;for custom host header enabled sites after installing Windows Server 2003 Service Pack 1?&lt;/p&gt;&lt;p&gt;You have ensured that you did include the site URL in the Local Intranet site list in your browser configuration and yet&amp;nbsp;it still doesn&amp;#39;t work!!!&lt;/p&gt;&lt;p&gt;Keep receiving HTTP error 401.1 even if you typed in the correct user name and password when prompted?&lt;/p&gt;&lt;p&gt;IWA&amp;nbsp;will not&amp;nbsp;be successful on custom host header enabled sites&amp;nbsp;due to the loopback check security feature of Windows Server 2003 SP 1.&amp;nbsp; Worry not!&amp;nbsp; Check out this must-to-read Knowledge Base article for more details. &lt;a href="http://support.microsoft.com/kb/896861"&gt;http://support.microsoft.com/kb/896861&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Remember one thing before you try the trick.&amp;nbsp; Back up your registry &lt;img src="http://sgdotnet.org/emoticons/emotion-5.gif" alt="Wink" /&gt;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=64242" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Best Practices" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Best+Practices/default.aspx" /><category term="Security" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Security/default.aspx" /><category term="Authentication" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Authentication/default.aspx" /><category term="IIS" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/IIS/default.aspx" /><category term="Internet Explorer" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Internet+Explorer/default.aspx" /></entry><entry><title>DevCon2006 Slide Deck (VSTO 2005 Second Edition)</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2006/12/28/DevCon2006-Slide-Deck-_2800_VSTO-2005-Second-Edition_2900_.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="752835" href="http://203.81.62.81/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.06.23.05/Visual-Studio-Tools-for-Office-System-2007.zip" /><id>/blogs/maungmaung/archive/2006/12/28/DevCon2006-Slide-Deck-_2800_VSTO-2005-Second-Edition_2900_.aspx</id><published>2006-12-27T16:58:00Z</published><updated>2006-12-27T16:58:00Z</updated><content type="html">&lt;p&gt;Attached is the deck for&amp;nbsp;Visual Studio Tools for Office session, which I presented in DevCon2006, organized by SgDotNet committee for student community.&lt;/p&gt;&lt;p&gt;Guess what!&amp;nbsp; The attached&amp;nbsp;PDF file is generated using Microsoft&amp;nbsp;Office 2007 add-on &amp;quot;Save as PDF&amp;quot;.&amp;nbsp; Pretty cool!&amp;nbsp; &lt;/p&gt;&lt;p&gt;In the past, I used to export the slides as pictures and inserted them into Word document for distribution because I don&amp;#39;t have&amp;nbsp;PDF writer software.&amp;nbsp; That&amp;nbsp;was not productive at all as I have to manually export and paste them into the document.&amp;nbsp; But with this new trick, I can easily convert my decks into PDF files in a few clicks, and most importantly the quality is beyond my expectation.&lt;/p&gt;&lt;p&gt;Here is the link for the add-on.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87041&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87041&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=62305" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Presentation" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Presentation/default.aspx" /><category term="Office 2007" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Office+2007/default.aspx" /><category term="Visual Studio Tools for Office" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Visual+Studio+Tools+for+Office/default.aspx" /></entry><entry><title>Are you an Accountant?</title><link rel="alternate" type="text/html" href="/blogs/maungmaung/archive/2006/12/04/Are-you-an-Accountant_3F00_.aspx" /><id>/blogs/maungmaung/archive/2006/12/04/Are-you-an-Accountant_3F00_.aspx</id><published>2006-12-04T14:10:00Z</published><updated>2006-12-04T14:10:00Z</updated><content type="html">&lt;p&gt;Setting up a business/company?&amp;nbsp; Looking for an Accountant?&lt;/p&gt;&lt;p&gt;Okay, okay...&amp;nbsp; I am not talking about jobs and recruitments, or even business partnership.&lt;/p&gt;&lt;p&gt;If you are looking for some user-friendly tools and mostly importantly FREE stuffs, here is the deal.&lt;/p&gt;&lt;p&gt;Microsoft offers FREE (no strings attached)&amp;nbsp;licensed software, Microsoft Office Accounting Express 2007, for managing accounts for companies. This one requires .NET Framework 2.0, which is installed automatically&amp;nbsp;as part of the package if you do not have it yet.&amp;nbsp; If you intend to store data locally rather than using it as a client to connect to a centralized database, then SQL Express is required and it will be installed automatically, too.&lt;/p&gt;&lt;p&gt;The download is about 208MB.&amp;nbsp; Here is the link.&lt;br /&gt;&lt;a href="http://www.ideawins.com/"&gt;http://www.ideawins.com/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;For those who are professional accountants, you may consider the real deal.&amp;nbsp; Check it out what you are missing in Microsoft Accounting Express 2007 as compared to Microsoft Accounting Professional 2007.&lt;br /&gt;&lt;a href="http://office.microsoft.com/en-us/accountingexpress/FX102097791033.aspx"&gt;http://office.microsoft.com/en-us/accountingexpress/FX102097791033.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Enough! Time for me to&amp;nbsp;go and learn accounting concepts from the finance team, so that I can play with this FREE toy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://203.81.62.81/aggbug.aspx?PostID=54784" width="1" height="1"&gt;</content><author><name>MaungMaung</name><uri>http://203.81.62.81/members/MaungMaung/default.aspx</uri></author><category term="Office 2007" scheme="http://203.81.62.81/blogs/maungmaung/archive/tags/Office+2007/default.aspx" /></entry></feed>