<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Staffan Malmgrens blogg &#187; datorsäkerhet</title>
	<atom:link href="http://blog.tomtebo.org/tag/datorsakerhet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tomtebo.org</link>
	<description>Programmering, juridik, punkrock och andra trivialiteter</description>
	<lastBuildDate>Sun, 29 Aug 2010 20:31:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>New IDG column</title>
		<link>http://blog.tomtebo.org/2004/05/18/new_idg_column/</link>
		<comments>http://blog.tomtebo.org/2004/05/18/new_idg_column/#comments</comments>
		<pubDate>Tue, 18 May 2004 19:17:00 +0000</pubDate>
		<dc:creator>staffan</dc:creator>
				<category><![CDATA[writing]]></category>
		<category><![CDATA[datorsäkerhet]]></category>
		<category><![CDATA[skrivet]]></category>

		<guid isPermaLink="false">http://newblog.tomtebo.org/writing/new_idg_column.html</guid>
		<description><![CDATA[This time, it&#8217;s about the recently discovered flaws in WinZip 9.0&#8242;s AES support&#160;and&#160;the importance of knowing&#160;exactly what it is that a security solution protects against. Read it here (as always, in Swedish) Update: Better yet, read it here, with nicer &#8230; <a href="http://blog.tomtebo.org/2004/05/18/new_idg_column/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This time, it&#8217;s about the <a href="http://www.cse.ucsd.edu/users/tkohno/papers/WinZip/">recently discovered flaws in WinZip 9.0&#8242;s AES support</a>&nbsp;and&nbsp;the importance of knowing&nbsp;exactly what it is that a security solution protects against.</p>
<p><a href="http://nyhetsbrev.idg.se/nyhetsbrev/visa_nyhetsbrev.asp?mail_id=10130&amp;name=IDG%2Ese+Teknik+%26+Tester&amp;NyhetsBrevId=121">Read it here</a> (as always, in Swedish) <b>Update:</b> Better yet, read it<br />
<a href="http://idg.se/ArticlePages/200405/19/20040519093921_IDG.se136/20040519093921_IDG.se136.dbp.asp"> here</a>, with nicer formatting and the possibility to comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomtebo.org/2004/05/18/new_idg_column/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quickies of the day</title>
		<link>http://blog.tomtebo.org/2004/05/01/quickies_of_the_day-4/</link>
		<comments>http://blog.tomtebo.org/2004/05/01/quickies_of_the_day-4/#comments</comments>
		<pubDate>Sat, 01 May 2004 01:41:00 +0000</pubDate>
		<dc:creator>staffan</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[datorsäkerhet]]></category>
		<category><![CDATA[Entombed]]></category>
		<category><![CDATA[programmering]]></category>

		<guid isPermaLink="false">http://newblog.tomtebo.org/music/quickies_of_the_day.html</guid>
		<description><![CDATA[Google being irrational in the best of ways: Google expects to bring in $eB ($2,718,281,828) in their IPO. If you ask me, they&#8217;re worth at least $&#960;B. There has been a lot of buzz about the newest publication from Microft&#8217;s &#8230; <a href="http://blog.tomtebo.org/2004/05/01/quickies_of_the_day-4/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>Google being irrational in the best of ways: Google <a href="http://www.wired.com/news/business/0,1367,63286-2,00.html?tw=wn_story_page_next1">expects to bring in</a> $<i>e</i>B ($2,718,281,828) in their IPO. If you ask me, they&#8217;re worth at least $&pi;B. </li>
<li>There has been a lot of buzz about the newest publication from Microft&#8217;s Pattern and Practices group, <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenet.asp">&#8221;Improving .NET Application Performance and Scalability&#8221;</a>. Since I&#8217;m not finished with <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/ThreatCounter.asp">&#8221;Improving Web Application Security&#8221;</a> yet, I&#8217;ve only skimmed this one, but it seems to approach it&#8217;s subject with similar throughoutness. However, can I ask for a PDF version? </li>
<li>Keith Pitty gathers <a href="http://squizlog.keithpitty.org/archives/000169.html">introductory links</a> to Java Server Faces, which for me as a .Net developer seem to correspond nicely to <a href="http://samples.gotdotnet.com/quickstart/aspplus/doc/webformsintro.aspx">ASP.NET WebForms</a>. While I really only focus on the .Net platform in my day-to-day development, I make a point of staying somewhat in touch in what happens in the Java community, if for no other reason to be able to <a href="http://www.dotnetguru.org/us/articles/JSFvsWebForms/JSFvsWebForms.html">contrast</a> the platforms and knowing the strength and weaknesses in their differing approaches. Since I&#8217;ve been looking into Code access security, I should probably read up a little on the <a href="http://java.sun.com/docs/books/tutorial/essential/system/securityIntro.html">Java security manager</a>. After all, the Java camp has been thinking about these issues for ten years now. </li>
<li>Omar Shahine tells <a href="http://blogs.msdn.com/omars/archive/2004/04/29/123239.aspx">how to get PDF&#8217;s to open in Acrobat Reader</a> instead of in the browser. As added bonus, he gives pointers on how to make recent versions of Acrobat Reader start quicker. </li>
<li>L-G from Entombed is <a href="http://www.closeupmagazine.net/forum2.php?id=51719">apparently</a> a guest on Eurodisco star E-Type&#8217;s new record. E-Type has already enlisted Mot&#246;rhead drummer Mikey Dee, at least for performances, but I still don&#8217;t think this is going to get him respect in heavy metal circles.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomtebo.org/2004/05/01/quickies_of_the_day-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quickies of the day</title>
		<link>http://blog.tomtebo.org/2004/04/29/quickies_of_the_day-3/</link>
		<comments>http://blog.tomtebo.org/2004/04/29/quickies_of_the_day-3/#comments</comments>
		<pubDate>Wed, 28 Apr 2004 23:36:00 +0000</pubDate>
		<dc:creator>staffan</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[abstraktioner]]></category>
		<category><![CDATA[datorsäkerhet]]></category>
		<category><![CDATA[mjukvarutestning]]></category>

		<guid isPermaLink="false">http://newblog.tomtebo.org/programming/quickies_of_the_day.html</guid>
		<description><![CDATA[Anil John writes about developing ASP.NET applications that run under Partial Trust. The whole Code Access Security framework in .Net is a complex beast, and I fear that most developers never will learn enough to actually use it properly, leaving &#8230; <a href="http://blog.tomtebo.org/2004/04/29/quickies_of_the_day-3/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>Anil John writes about developing ASP.NET applications that <a href="http://cyberforge.com/weblog/aniltj/archive/2004/04/27/486.aspx">run under Partial Trust</a>. The whole Code Access Security framework in .Net is a complex beast, and I fear that most developers never will learn enough to actually use it properly, leaving them with applications that appear to be secured against malicious in-process code, but still can be vulnerable to &#8221;luring attacks&#8221;. And if you let a single malicious assembly run with FullTrust, it&#8217;s Game over for your entire host process, as explained by Keith Brown in <a href="http://msdn.microsoft.com/msdnmag/issues/04/04/SecurityBriefs/">Beware of Fully Trusted Code</a>. As Anil says, chapter 6-9 in <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/ThreatCounter.asp">Improving Web Application Security: Threats and Countermeasures</a> is recommended reading. As a sidenote, are there any MVP&#8217;s that specialize in Code Access Security? </li>
<li>Tim Bray <a href="http://www.tbray.org/ongoing/When/200x/2004/04/26/WSTandP">writes</a> about the higher level web services specifications, and how the law of <a href="http://www.joelonsoftware.com/articles/LeakyAbstractions.html">leaky abstractions</a> work against them. <i>&#8221;[...]; applications that try to abstract away the fact that they&#8217;re exchanging XML messages will suffer for it&#8221;</i> </li>
<li>Anil Dash warns against <a href="http://www.dashes.com/anil/2004/04/28/learning_from_t">yet another scenario</a> where Word&#8217;s &#8221;Track Changes&#8221; feature can come back and bite you in the ass. I once recieved a press release in .doc format that had Track Changes enabled in such a way that they didn&#8217;t show up on screen, but did when you printed it. Oops indeed. </li>
<li>Jon Udell observes that developers still <a href="http://weblog.infoworld.com/udell/2004/04/26.html#a982">have a lot to learn</a> when it comes to internationalizing applications, and compares us with 13-th century French Artisans. I don&#8217;t think I have linked to Joel Spolsky&#8217;s excellent <a href="http://www.joelonsoftware.com/articles/Unicode.html">Unicode primer</a> yet, and even if I have, its such a recommended reading that I should do it again. I did a small project involving UTF-8 to Windows-1256 (Arabic) conversion on a low level a while ago, and it was most illuminating. </li>
<li>My <a href="http://www.idg.se/ArticlePages/200404/28/20040428093934_IDG.se884/20040428093934_IDG.se884.dbp.asp">column</a> on the Smalltalk heritage on IDG has spawned a small <a href="http://www.idg.se/tjanster/artikelforum/default.asp?art=20040428093934_IDG.se884">debate</a> about &#8221;industry languages&#8221; such as Java and C# compared to more dynamic, &#8221;cutting edge&#8221; languages like Smalltalk and Python. My take on the debate is that if you want to get stuff done togheter with other developers that may not be on the same level as you, C# and Java will get you there with the lowest amount of risk. For single-developer projects, or for small projects that everyone involved are really bright, Python and similarly dynamic languages (including Smalltalk, Lisp/Scheme, and even Perl) can get you there faster, while allowing you to have more fun along the way. </li>
<li>Ted Neward (By the way, it&#8217;s cool that a MVP&#8217;s RSS feed URL ends in .jsp <img src='http://blog.tomtebo.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> is involved in <a href="http://www.neward.net/ted/weblog/index.jsp?date=20040427#1083085266555">a debate</a> over a set of <a href="http://www.sys-con.com/story/?storyid=44375">security guidelines</a> (subscription required) published in <a href="http://sys-con.com/java/">Java Developers Journal</a>. Ted observes that for many of threats that the guidelines seek to guard against to even be theoretically exploitable, the attacker already must have greater access than he stands to gain by exploiting the vulnerability. This observation is similar to Peter Torr&#8217;s <a href="http://weblogs.asp.net/ptorr/archive/2004/04/24/119627.aspx">that VBA and Outlook&#8217;s object model</a> does not really increase the attack surface, since, for an attacker to make use of them, he must already have <a href="http://weblogs.asp.net/ptorr/archive/2004/04/16/115029.aspx">full access to the machine</a>: <i>&#8221;The problem isn&#8217;t that you have knives or saucepans or shoes in your house; it&#8217;s that the burglar keeps getting inside!&#8221;</i> </li>
<li>Cedric Beust <a href="http://beust.com/weblog/archives/000121.html">puts his money where his mouth is</a>; disappointed by <a href="http://www.junit.org/">JUnit</a>, he writes his own testing framework, <a href="http://beust.com/testng">TestNG</a>. </li>
<li><a href="http://blogs.msdn.com/brada/">Brad Adams</a> gets DDJ to allow republising Steven Clarke&#8217;s article on <a href="http://www.gotdotnet.com/team/brada/APIUsability.pdf">Measuring API Usability</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomtebo.org/2004/04/29/quickies_of_the_day-3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Quickies of the day</title>
		<link>http://blog.tomtebo.org/2004/04/27/quickies_of_the_day-2/</link>
		<comments>http://blog.tomtebo.org/2004/04/27/quickies_of_the_day-2/#comments</comments>
		<pubDate>Tue, 27 Apr 2004 14:07:00 +0000</pubDate>
		<dc:creator>staffan</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[datorsäkerhet]]></category>
		<category><![CDATA[mjukvarutestning]]></category>

		<guid isPermaLink="false">http://newblog.tomtebo.org/programming/quickies_of_the_day.html</guid>
		<description><![CDATA[Jiri has an interesting comparison between the state of infrastructure security as opposed to application security. Michael Howard has the slides from what appear to be an excellent presentation about Secure coding issues up (by way of Sergey Simakov The &#8230; <a href="http://blog.tomtebo.org/2004/04/27/quickies_of_the_day-2/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://jludvik.net/weblog/000274.html">Jiri</a> has an interesting comparison between the state of infrastructure security as opposed to application security. </li>
<li><a href="http://blogs.msdn.com/michael_howard">Michael Howard</a> has the slides from what appear to be an excellent presentation about <a href="http://www.route64.net/slidedecks/SecureCoding.ppt">Secure coding issues</a> up (by way of <a href="http://geekswithblogs.net/ssimakov/archive/2004/04/26/4364.aspx">Sergey Simakov</a> </li>
<li>The widely-talked-about <a href="http://www.osvdb.org/reference/SlippingInTheWindow_v1.0.doc">paper</a> from Paul Watson on the TCP reset vulnerability that threatened to <a href="http://slashdot.org/article.pl?sid=04/04/20/1738217&amp;tid=128">destroy the internet</a> last week is now online. </li>
<li>Charles Miller <a href="http://fishbowl.pastiche.org/2004/04/27/where_bugs_come_from">discusses</a> where bugs come from, and why unit testing only will catch a part of them. </li>
<li>Mr Ed from Hacknot asks all developers to <a href="http://www.hacknot.info/hacknot/action/showEntry?eid=52">spare</a> a thought for the next guy that will change your code &#8212; it could be you. </li>
</ul>
<p>Also, with all the recent book reviews all over the .Net blogosphere, I broke down and went crazy on Amazon. The following books should soon be here: </p>
<ul>
<li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/020172152X/103-1159581-8156629?%5Fencoding=UTF8">Building Secure Software: How to Avoid Security Problems the Right Way</a> [Hardcover] By: John Viega (Author), Gary McGraw (Author)</li>
<li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0321154894/103-1159581-8156629?%5Fencoding=UTF8">.NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library, 1/e</a> [Hardcover] By: Brad Abrams (Author)</li>
<li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471223573/103-1159581-8156629?%5Fencoding=UTF8">Practical Cryptography</a> [Paperback] By: Niels Ferguson (Author), Bruce Schneier (Author)</li>
<li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0201786958/103-1159581-8156629?%5Fencoding=UTF8">Exploiting Software : How to Break Code</a> [Paperback] By: Greg Hoglund (Author), Gary McGraw (Author)</li>
<li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0735617228/103-1159581-8156629?%5Fencoding=UTF8">Writing Secure Code, Second Edition</a> [Paperback] By: Michael Howard (Author), David C. LeBlanc</li>
<li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0321154916/103-1159581-8156629?%5Fencoding=UTF8">The C# Programming Language</a> [Hardcover] By: Anders Hejlsberg (Author), et al</li>
<li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0201734117/103-1159581-8156629?%5Fencoding=UTF8">Essential .NET, Volume I: The Common Language Runtime</a> [Paperback] By: Don Box (Author)</li>
<li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0596002424/103-1159581-8156629?%5Fencoding=UTF8">Secure Coding: Principles and Practices</a> [Paperback] By: Mark G. Graff, Kenneth R. Van Wyk</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomtebo.org/2004/04/27/quickies_of_the_day-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft PAG on &#8221;Improving Web Application Security&#8221;</title>
		<link>http://blog.tomtebo.org/2004/04/26/microsoft_pag_on___improving_web_application_security/</link>
		<comments>http://blog.tomtebo.org/2004/04/26/microsoft_pag_on___improving_web_application_security/#comments</comments>
		<pubDate>Mon, 26 Apr 2004 11:56:00 +0000</pubDate>
		<dc:creator>staffan</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[datorsäkerhet]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[programmering]]></category>

		<guid isPermaLink="false">http://newblog.tomtebo.org/programming/microsoft_pag_on___improving_web_application_security.html</guid>
		<description><![CDATA[Anil John points me to the Microsoft Pattern and Practices site. I&#8217;ve stumbled over the &#8221;Application blocks&#8221; examples that they have up once or twice, but I never went to their front page to see what it&#8217;s all about. I &#8230; <a href="http://blog.tomtebo.org/2004/04/26/microsoft_pag_on___improving_web_application_security/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://cyberforge.com/weblog/aniltj/">Anil John</a> <a href="http://cyberforge.com/weblog/aniltj/archive/2004/04/25/479.aspx">points</a> me to the <a href="http://www.microsoft.com/resources/practices/">Microsoft Pattern and Practices</a> site. I&#8217;ve stumbled over the &#8221;Application blocks&#8221; examples that they have up once or twice, but I never went to their front page to see what it&#8217;s all about. I took a glance at the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/ThreatCounter.asp">&#8221;Improving Web Application Security: Threats and Countermeasures&#8221;</a> guide, and&#8230; godDAMN this is a comprehensive guide (900+ printed pages, not much filler) to just about everything you need to know about secure web development on the Microsoft platform, including how to harden the base services (like IIS and MS SQL Server) your application uses. Much of the stuff (like the chapters on Code Access Security and Data access) is useful in non-web development as well. So far I&#8217;ve only skimmed through it, but it looks to be a must-read.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomtebo.org/2004/04/26/microsoft_pag_on___improving_web_application_security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting validation framework</title>
		<link>http://blog.tomtebo.org/2004/04/22/interesting_validation_framework/</link>
		<comments>http://blog.tomtebo.org/2004/04/22/interesting_validation_framework/#comments</comments>
		<pubDate>Thu, 22 Apr 2004 01:23:00 +0000</pubDate>
		<dc:creator>staffan</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[datorsäkerhet]]></category>
		<category><![CDATA[programmering]]></category>
		<category><![CDATA[validering]]></category>

		<guid isPermaLink="false">http://newblog.tomtebo.org/programming/interesting_validation_framework.html</guid>
		<description><![CDATA[The most important part of developing secure (and robust) systems is to validate all input that comes from the outside (and for large systems, even between components). However, writing validation code isn&#8217;t usually very fun, and so like many other &#8230; <a href="http://blog.tomtebo.org/2004/04/22/interesting_validation_framework/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The most important part of developing secure (and robust) systems is to validate all input that comes from the outside (and for large systems, even between components). However, writing validation code isn&#8217;t usually very fun, and so like many other good practices, validating your input sometimes is neglected. If you develop in ASP.NET or Winforms, there are some validation controls that help you a little bit, but they don&#8217;t provide out-of-the box protection against XSS attacks, SQL injection, UTF-8 canonicalization problems and so on. To guard against things like that you need to write your own validation code.</p>
<p>In <a href="http://www.theserverside.net/articles/showarticle.tss?id=Validators">this article</a>, <a href="http://weblogs.asp.net/mnolton">Mathew Nolton</a> describes a validation framework that lets you use custom attributes to do most of the heavy lifting, essentially providing declarative validation. This stuff is very cool, and another fine example of just how useful custom attributes in .Net can be.</p>
<p>
I think the following method signature gives you an idea of how it works:<br />
<font size="2">
<pre>
public void SomeMethod (
		[RegExAttribute("[a,e,i,o,u]",RegexOptions.None)]
                   string someParameter)
</pre>
<p></font><br />
Together with some boilerplate code (which could be autoinserted by your editor), this ensures that if someParameter ever contains anything but the letters a,e,i,o,u, a ValidationException is thrown.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomtebo.org/2004/04/22/interesting_validation_framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google cracked?</title>
		<link>http://blog.tomtebo.org/2004/04/21/google_cracked/</link>
		<comments>http://blog.tomtebo.org/2004/04/21/google_cracked/#comments</comments>
		<pubDate>Wed, 21 Apr 2004 21:11:00 +0000</pubDate>
		<dc:creator>staffan</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[datorsäkerhet]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[IDN]]></category>

		<guid isPermaLink="false">http://newblog.tomtebo.org/misc/google_cracked.html</guid>
		<description><![CDATA[It looks like google has been cracked! (Well, as long as your browser handles IDN, Internationalized domain names, at least )]]></description>
			<content:encoded><![CDATA[<p>It looks like <a href="http://www.g&#x03BF;&#x03BF;gle.com/">google</a> has been cracked!</p>
<p>(Well, as long as your browser handles IDN, Internationalized domain names, at least <img src='http://blog.tomtebo.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomtebo.org/2004/04/21/google_cracked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keith Brown on managed code security</title>
		<link>http://blog.tomtebo.org/2004/03/25/keith_brown_on_managed_code_security/</link>
		<comments>http://blog.tomtebo.org/2004/03/25/keith_brown_on_managed_code_security/#comments</comments>
		<pubDate>Thu, 25 Mar 2004 13:13:00 +0000</pubDate>
		<dc:creator>staffan</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[datorsäkerhet]]></category>

		<guid isPermaLink="false">http://newblog.tomtebo.org/programming/keith_brown_on_managed_code_security.html</guid>
		<description><![CDATA[This is an interesting article about code security in the CLR, and how little teeth the declarative security features in the CLR have when it&#8217;s running fully trusted code. I did know that some naughty things (like calling private methods) &#8230; <a href="http://blog.tomtebo.org/2004/03/25/keith_brown_on_managed_code_security/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">
          <a href="http://msdn.microsoft.com/msdnmag/issues/04/04/SecurityBriefs/">This</a> is<br />
        an interesting article about code security in the CLR, and how little teeth the declarative<br />
        security features in the CLR have when it&#8217;s running fully trusted code. I did know<br />
        that some naughty things (like calling private methods) was possible using reflection,<br />
        but I was under the assumption that <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityIStackWalkClassTopic.asp">IStackWalk</a>.<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityIStackWalkClassTopic.asp">Deny()</a> trumphed<br />
        most anything. In the article, Keith shows how to malicious code can get around that<br />
        and also AppDomain separation &#8212; if the assembly it&#8217;s in is marked as FullTrust.
    </p>
<p xmlns="http://www.w3.org/1999/xhtml">
<blockquote xmlns="http://www.w3.org/1999/xhtml"><p>
          <i>Fully trusted code can get around all of the CLR&#8217;s built-in security<br />
    features. That&#8217;s why it&#8217;s called fully trusted &#8211; it must be trusted to do the<br />
    right thing. </i>
        </p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomtebo.org/2004/03/25/keith_brown_on_managed_code_security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
