<?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>A Security Lesson that Transcends Programming Language and Operating System Religion</title><link>http://blogs.msdn.com/sdl/archive/2007/06/22/a-security-lesson-that-transcends-programming-language-and-operating-system-religion.aspx</link><description>Hi, Michael here. A few weeks ago, my boss, Steve Lipner placed a copy of eWeek on my desk opened to an article entitled, “Java Security Traps Getting Worse.” In summary, the article, which is also available online ( http://www.eweek.com/article2/0,1895,2128071,00.asp</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: A Security Lesson that Transcends Programming Language and Operating System Religion</title><link>http://blogs.msdn.com/sdl/archive/2007/06/22/a-security-lesson-that-transcends-programming-language-and-operating-system-religion.aspx#3465128</link><pubDate>Fri, 22 Jun 2007 19:46:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3465128</guid><dc:creator>asteingruebl</dc:creator><description>&lt;p&gt;Michael,&lt;/p&gt;
&lt;p&gt;Care to speculate on the costs of the SDL as applied to managed code vs. C/C++? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I know your general distaste for analogies so I can't resist throwing one out there.&lt;/p&gt;
&lt;p&gt;You can shave safely with a straight razor. &amp;nbsp;People did it for years. &amp;nbsp;I does take a lot of skill to get right though, plenty of practice, etc. &amp;nbsp;Or, you could use a safety razor and get the job done without taking nearly as much risk. You can still cut yourself but probably not a several inch deep gash...&lt;/p&gt;
&lt;p&gt;Yes, I know this isn't a perfect example. Part of replacing one programming language with another is to gain efficiency. &amp;nbsp;We replaced assembler with C and other languages for efficiency in the coding aspects. &amp;nbsp;We replace C with C++ for efficiency in both coding and design. &amp;nbsp;We replace them with C# and/or Java to get better efficiency in frameworks, modeling, etc.&lt;/p&gt;
&lt;p&gt;If I get rid of C/C++ and/or ban certain function calls I remove whole classes of potential vulnerabilities. &amp;nbsp;Of the classes left I'm equally susceptible to these types of flaws in C, C++, Java, and C#. &amp;nbsp;But does that really mean I haven't gained anything from an assurance perspective?&lt;/p&gt;
&lt;p&gt;I think you're setting up a straw-man here. &amp;nbsp;Sure lots of people think that replacing C/C++ with Java/C# will automatically make me secure, but just because some people believe that position doesn't mean you won't get measurable benefit from moving to managed code.&lt;/p&gt;
&lt;p&gt;Your thoughts?&lt;/p&gt;</description></item><item><title>re: A Security Lesson that Transcends Programming Language and Operating System Religion</title><link>http://blogs.msdn.com/sdl/archive/2007/06/22/a-security-lesson-that-transcends-programming-language-and-operating-system-religion.aspx#3465543</link><pubDate>Fri, 22 Jun 2007 20:25:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3465543</guid><dc:creator>splatteredbits</dc:creator><description>&lt;P&gt;Thank you for saying this. &amp;nbsp;I hope more people are reading this blog. Coincidentally, I &amp;lt;a href="&lt;A href="http://www.splatteredbits.com/tp/articles/writing-secure-code%22%3Erecently" target=_new rel=nofollow&gt;recently'&gt;http://www.splatteredbits.com/tp/articles/writing-secure-code"&amp;gt;recently&lt;/A&gt; posted an article on my own blog about not trusting input&amp;lt;/a&amp;gt;. &amp;nbsp;It can be a hard message for developer's to preach, though.&lt;/P&gt;</description></item></channel></rss>