<?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>robbie &#187; security</title>
	<atom:link href="http://www.wellitworkedlasttime.com/robbie/index.php/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wellitworkedlasttime.com/robbie</link>
	<description>wellitworkedlasttime.com</description>
	<lastBuildDate>Wed, 04 Nov 2009 22:08:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>privacy impact assessment</title>
		<link>http://www.wellitworkedlasttime.com/robbie/index.php/2008/privacy-impact-assessment/</link>
		<comments>http://www.wellitworkedlasttime.com/robbie/index.php/2008/privacy-impact-assessment/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 01:39:23 +0000</pubDate>
		<dc:creator>robbie</dc:creator>
				<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.wellitworkedlasttime.com/robbie/?p=59</guid>
		<description><![CDATA[I know, I’m a terrible blogger – normally the recent Cretaceous boundary events in both my personal and professional life would have led an outpouring of activity, but in this particular case it hasn’t. Even so, I have to jot down some thoughts about ‘P.I.A.’&#8230;
 Let’s start with the fact that I hate the term – [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><font face="Calibri">I know, I’m a terrible blogger – normally the recent Cretaceous boundary events in both my personal and professional life would have led an outpouring of activity, but in this particular case it hasn’t. Even so, I have to jot down some thoughts about ‘P.I.A.’&#8230;</font></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><font face="Calibri"><span> </span>Let’s start with the fact that I hate the term – it’s really not an “impact assessment” at all – at least not in the way we have “critical event analysis” which occur post-facto, in the ‘let’s find out what when wrong’ sense; even the slightly more proactive ‘after we’ve done this how could we have done it better’ type of analysis one might often commission if things went well. Rather, it ought to be a component part of the process. But if you </font><a href="http://www.google.co.uk/search?hl=en&amp;sa=X&amp;oi=spell&amp;resnum=0&amp;ct=result&amp;cd=1&amp;q=privacy+impact+assessment&amp;spell=1"><font face="Calibri">google</font></a><font face="Calibri"> that right now you’ll find little other than guidance and opinion – certainly no commonly adopted<span>  </span>processes or standards. It’s hugely immature. </font></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><font face="Calibri"><span> </span>I’m struck by the similarity of ‘privacy’ with the evolution of ‘security’ and, more recently , ‘identity ‘ in that respect – here we now talk about “assurance” in relation to those concepts – why are we not using the equivalent nomenclature? <span> </span>Possibly because only a few academics and lawyers are truly interested? “</font><a href="http://www.google.co.uk/search?hl=en&amp;q=%22privacy+assurance%22&amp;meta="><font face="Calibri">Privacy assurance</font></a><font face="Calibri">” (at the time of writing don’t expect much) is surely the better term? It’s part of the process of developing systems that process personal data. Any personal data, whatsoever. At least it ought to be. We should be considering privacy at every step of our designs and implementations. An example&#8230;</font></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><font face="Calibri">Five or so years ago on a project far, far, away we had a technical design discussion that went something like this:</font></p>
<p><em><font face="Calibri">Q: Yes, but do we assume the government owners of this system to be both good and competent?</font></em></p>
<p><em><font face="Calibri">A. No, therefore we must put in place mechanisms that will make it as difficult as possible for a corruptible entity to abuse its potential power whilst still saving itself from its innate inability to be effective&#8230;</font></em></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><font face="Calibri">I doubt very much that such design considerations were widespread. But they should have been. At the time we called this “security by design” or “security-led design” depending on whom you talked to; now its “privacy by design”. That’s ‘A Good Thing’ in my view – at least we can discuss privacy issues in broad daylight in a way that means something to senior stakeholders. So saying security is still, in my mind, the overarching concept here – because security and privacy only really begin to trade-off when identity (or identifiers or identity data) are introduced. </font></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><font face="Calibri">Simple example: mechanical lock and key to gain me entry to my house does not depend <span> </span>on my identity – there is no implicit or explicit semantic assumption that I – and only I (or my delegated identities) can enter that building. Anyone with the appropriate physical key – whether actual or otherwise forged – can. And that’s the point &#8211; it’s not dependant on my <em>identity.</em> Therefore this scenario does not require a P.I.A. as privacy, in terms of identity, is irrelevant. However an entry system that does depend on identifiers or identity <em>ought</em> to.</font></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><font face="Calibri">So, ‘conducting’ a P.I.A. – which probably means &#8216;getting in consultants to review an implementation&#8217;- is not what my defintion of ‘privacy assurance’ is about. Privacy assurance ought to be a fundamental, integrated part of the process of designing and assuring<span> </span>solutions, not a methodology or a discrete task in that process&#8230;</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wellitworkedlasttime.com/robbie/index.php/2008/privacy-impact-assessment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ǝlƃooƃ noʎ ʞɔnɟ</title>
		<link>http://www.wellitworkedlasttime.com/robbie/index.php/2008/google-trends-hacked/</link>
		<comments>http://www.wellitworkedlasttime.com/robbie/index.php/2008/google-trends-hacked/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 18:51:41 +0000</pubDate>
		<dc:creator>robbie</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://www.wellitworkedlasttime.com/robbie/?p=45</guid>
		<description><![CDATA[Admittedly 5 hours behind the curve on this one, but I just randomly stumbled on this on google trends. looks like someone&#8217;s got a new googlehack on the go - in the form of the clever upside down ǝlƃooƃ noʎ ʞɔnɟ. what is interesting is that this term doesn&#8217;t seem to have existed prior to today, so to [...]]]></description>
			<content:encoded><![CDATA[<p>Admittedly 5 hours behind the curve on this one, but I just randomly stumbled on this on <a href="http://trends.google.com/trends?hl=en" title="Google Trends">google trends</a>. looks like someone&#8217;s got a new googlehack on the go - in the form of the clever <a href="http://www.revfad.com/flip.html" title="flip">upside down</a> <a href="http://www.google.co.uk/search?hl=en&amp;safe=off&amp;q=%C7%9Dl%C6%83oo%C6%83+no%CA%8E+%CA%9E%C9%94n%C9%9F&amp;btnG=Search&amp;meta=" title="ǝlƃooƃ noʎ ʞɔnɟ">ǝlƃooƃ noʎ ʞɔnɟ</a>. what is interesting is that this <a href="http://www.google.com/trends?q=%C7%9Dl%C6%83oo%C6%83+no%CA%8E+%CA%9E%C9%94n%C9%9F" title="ǝlƃooƃ noʎ ʞɔnɟ">term</a> doesn&#8217;t seem to have existed prior to today, so to get it into the top search spot in just a few hours is significant. a deliberate mass google search? would need an impressive bot-network to pull off the millions of hits required though (or a viral network of lots of people with time on their hands). perhaps a google trends vulnerability then? hmm. either way, having hit the top spot &#8211; i&#8217;d now expect blogs to punt the search frequency back up after this initial spike. which is perhaps the real hack&#8230;</p>
<p><img src="http://www.wellitworkedlasttime.com/robbie/wp-content/uploads/2008/07/googlehack1.jpg" alt="today’s googlehack" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wellitworkedlasttime.com/robbie/index.php/2008/google-trends-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vip vapourware</title>
		<link>http://www.wellitworkedlasttime.com/robbie/index.php/2008/vip-vapourware/</link>
		<comments>http://www.wellitworkedlasttime.com/robbie/index.php/2008/vip-vapourware/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 10:46:50 +0000</pubDate>
		<dc:creator>robbie</dc:creator>
				<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.wellitworkedlasttime.com/robbie/?p=40</guid>
		<description><![CDATA[
So, back in 2006 Sandisk, RSA and Verisign together released something called TrustedSignins for U3. Instead of a dedicated token, a multipurpose U3 usb stick would do the same job, indeed it could securely manage multiple tokens, and it&#8217;d also be a usefully encrypted usb drive. ubiquitously and cheaply available at retail outlets everywhere, the advantages seem obvious. so when Verisign offer a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.wellitworkedlasttime.com/robbie/wp-content/uploads/2008/07/sandisk.jpg" alt="Sandisk TrustedSignins" /></p>
<p>So, back in 2006 <a href="http://www.sandisk.com/Products/Catalog(1013)-SanDisk_Cruzer_USB_Flash_Drives.aspx" title="Sandisk Cruzer U3">Sandisk</a>, <a href="http://www.rsa.com/" title="RSA - Security Division of EMC">RSA</a> and <a href="http://www.verisign.com/authentication/consumer-authentication/vip-authentication/index.html" title="Veriign VIP">Verisign</a> together released something called <a href="http://www.sandisk.com/Assets/File/pdf/retail/FINALTrustedSignIn.2.pdf" title="Sandisk Trusted Signins">TrustedSignins</a> for <a href="http://www.u3.com/" title="U3" class="broken_link">U3</a>. Instead of a dedicated token, a multipurpose U3 usb stick would do the same job, indeed it could securely manage multiple tokens, and it&#8217;d also be a usefully encrypted usb drive. ubiquitously and cheaply available at retail outlets everywhere, the advantages seem obvious. so when Verisign offer a free two-factor <a href="https://pip.verisignlabs.com/" title="Verisign VIP">VIP</a> for their <a href="http://openid.net/" title="OpenId">OpenId</a> <a href="https://idprotect.verisign.com" title="Verisign Identity Protection">PIP</a>, I popped into town and bought a <a href="http://uk.sandisk.com/Products/Catalog(1225)-SanDisk_Extreme_Cruzer_Contour_USB_Flash_Drive.aspx" title="Sandisk Cruzer">cruzer</a>, since any SanDisk U3 drive will do the trick it seems:</p>
<p><img src="http://www.wellitworkedlasttime.com/robbie/wp-content/uploads/2008/07/supported.jpg" alt="Verisign supports SanDisk U3" /></p>
<p>Activation is simple, just plug in the cruzer, open the U3 LaunchPad and click on TrustedSignins:</p>
<p><img src="http://www.wellitworkedlasttime.com/robbie/wp-content/uploads/2008/07/activate1.jpg" alt="Activate Verisign VIP on U3" /></p>
<p>Except the U3 LaunchPad doesn&#8217;t have a TrustedSignins option. I check the cruzer has the latest software installed, and spend a good couple of hours <a href="http://www.google.co.uk/search?hl=en&amp;q=trustedsignins&amp;meta=" title="mostly coverage of the press release">searching</a> and finally emailing verisign, sandisk an u3 support. Now, the <a href="http://www.sandisk.com/Assets/File/pdf/retail/FINALTrustedSignIn.2.pdf" title="Sandisk TrustedSignins">Sandisk doco</a> says, &#8220;<em>A benefit of TrustedSignins over dedicated tokens is that your company does not need to bear the expense of stocking and supplying them to your customers. After an employee or customer buys a standard SanDisk device at any of the 185,000  retail locations, it is registered with their account at your company. As an incentive, your company can even offer a rebate.</em>&#8221;</p>
<p>But when I bought the cruzer, I just picked one off the shelf, I was neither asked to register nor offered a rebate. And it doesn&#8217;t work. So what is going on here? Turns out there are two types of SanDisk U3 &#8211; <a href="http://uk.sandisk.com/Products/Catalog(1013)-SanDisk_Cruzer_USB_Flash_Drives.aspx" title="SanDisk Retail">retail</a> and <a href="http://www.sandisk.com/OEM/Products.aspx" title="SanDisk OEM" class="broken_link">OEM</a>, and <strong>only the OEM version</strong> can be programmed with the <a href="http://www.sandisk.com/Retail/Default.aspx?CatID=1345" title="TrustedSignins download" class="broken_link">TrustedSignins utility</a>. also the OEM version is not available from retail outlets. This is certainly not what either Verisign or Sandisk are claiming though, is it? Why has Sandisk not made the TrustedSignins available on all its U3 devices? Why does Verisign not make it clear that only a very select few SanDisk U3 drives are actually compatible with their VIP. Am I really the only person in the last 2 years to try and activate a Verisign VIP on a SanDisk U3?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wellitworkedlasttime.com/robbie/index.php/2008/vip-vapourware/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>madrid</title>
		<link>http://www.wellitworkedlasttime.com/robbie/index.php/2008/madrid/</link>
		<comments>http://www.wellitworkedlasttime.com/robbie/index.php/2008/madrid/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 13:22:12 +0000</pubDate>
		<dc:creator>robbie</dc:creator>
				<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.wellitworkedlasttime.com/robbie/?p=37</guid>
		<description><![CDATA[that time of year, then, for the little known european data protection awards, otherwise known by the snappy &#8216;Prize to Data Protection Best Practices in European Public Services (fifth edition)&#8216;. Scorchio! Last year the ICO supported the nomination of my current project, which was pretty well received. it&#8217;s awarded by Madrid&#8217;s regional data protection agency &#8211; not a European level [...]]]></description>
			<content:encoded><![CDATA[<p>that time of year, then, for the little known <a href="http://www.madrid.org/cs/Satellite?c=CM_Texto_FA&amp;cid=1142464250392&amp;idPage=1109266885515&amp;language=es&amp;pagename=APDCM%2FCM_Texto_FA%2FmuestraTextoFA_APDCM" title="european data protection awards">european data protection awards</a>, otherwise known by the snappy &#8216;Prize <em>to Data Protection Best Practices in European Public Services (fifth edition)</em>&#8216;. <a href="http://en.wikipedia.org/wiki/Chanel_9" title="ethethetheth">Scorchio</a>! Last year the <a href="http://www.ico.gov.uk/upload/documents/pressreleases/2008/data_protection_award_july2008.pdf" title="ICO Press Release">ICO</a> supported the nomination of <a href="http://www.scotland.gov.uk/Topics/Government/DataStandardsAndeCare" title="eCare" class="broken_link">my current project</a>, which was pretty <a href="http://www.identityblog.com/?p=917" title="Kim notes award">well received</a>. it&#8217;s awarded by Madrid&#8217;s regional data protection agency &#8211; not a European level body by any means, yet the awards have become the <em>de-facto </em>European honour in terms of data protection. partly, i suspect, as it has avoided becoming a <a href="http://www.scottishsoftwareawards.co.uk/awards/" title="been there, done that">nepotistic</a>, <a href="http://www.google.co.uk/search?hl=en&amp;q=%22excellence+award%22+scottish+executive+OR+government&amp;meta=" title="isn't it?">bureaucratic back-slapping</a> <a href="http://news.bbc.co.uk/1/hi/uk_politics/7104945.stm" title="we need more, i say more, policy">exercise</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wellitworkedlasttime.com/robbie/index.php/2008/madrid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>writing secure code (second edition)</title>
		<link>http://www.wellitworkedlasttime.com/robbie/index.php/2003/book-writing-secure-code-second-edition/</link>
		<comments>http://www.wellitworkedlasttime.com/robbie/index.php/2003/book-writing-secure-code-second-edition/#comments</comments>
		<pubDate>Sat, 30 Aug 2003 11:59:59 +0000</pubDate>
		<dc:creator>robbie</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.wellitworkedlasttime.com/robbie/?p=4</guid>
		<description><![CDATA[Writing Secure Code, Second Edition
Some years ago i worked for a software house with over 30 developers, of which only one other had read the first edition of this book. I don&#8217;t think that was uncommon. Few developers cared about application security in general terms, their encounters with security being an inconvenience that either &#8216;broke&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.co.uk/exec/obidos/ASIN/0735617228" title="Amazon Link">Writing Secure Code, Second Edition</a></p>
<p>Some years ago i worked for a software house with over 30 developers, of which only one other had read the first edition of this book. I don&#8217;t think that was uncommon. Few developers cared about application security in general terms, their encounters with security being an inconvenience that either &#8216;broke&#8217; code or (often post-exploit) resulted in &#8216;extra work&#8217; bug-fixing. I use the past-tense, but i&#8217;ve really no evidence to suggest that things have changed all that much. Hopefully the wider distribution and publicity granted this second edition will help change that.</p>
<p>The book is organised into four major sections.</p>
<p>The first provides background material that outlines the need to secure systems and techniques for designing secure systems. It is carefully written, appropriately illustrated and has only two very small code examples (one of which pseudo-code, the other a couple of lines of asp), making it good for photocopying and distribution to project managers&#8230;</p>
<p>The second and third sections provide the bulk of the book &#8211; secure coding techniques. As you&#8217;d expect buffer overruns, acls, least privilege, crypto, canonical mistakes, sql injection, cross site scripting, dos attacks, to name a few are all covered, and there are chapters on internationalisation, sockets, rpc, and one &#8211; surprisingly small &#8211; on .net. I say surprisingly because a good part of the marketing for this book was that it was updated to cover .net, which it has &#8211; but not to the extent you&#8217;d think. If you&#8217;re looking for an in-depth analysis of .net security, this work doesn&#8217;t have it. But it doesnt needs it &#8211; if there is one single message in the second and third sections it is that there is no replacement for responsible, informed programming regardless of the syntax or technology used. The chapter entitled &#8216;All Input Is Evil&#8217; makes that point well, it &#8211; like the others &#8211; applies whether you use .net or not.</p>
<p>The final section covers &#8216;everything else&#8217; &#8211; testing, code reviews, installation, error messages, and a good &#8211; but brief &#8211; chapter on privacy and data security, and an excellent chapter on general good practises.</p>
<p>Part of what made the first edition a classic, to my mind, is that it addressed the security fundamentals *every* programmer on a microsoft platform should be aware of. After reading it i was in doubt of the importance of application security, the core principles, threats and coding countermeasures, and i went on to apply those in subsequent projects. This edition builds, updates and expands on the first and is, simply, required reading. unlike many sequels, it does not disappoint.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wellitworkedlasttime.com/robbie/index.php/2003/book-writing-secure-code-second-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>server side smtp</title>
		<link>http://www.wellitworkedlasttime.com/robbie/index.php/2003/site-update-server-side-smtp/</link>
		<comments>http://www.wellitworkedlasttime.com/robbie/index.php/2003/site-update-server-side-smtp/#comments</comments>
		<pubDate>Fri, 25 Jul 2003 11:59:59 +0000</pubDate>
		<dc:creator>robbie</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://www.wellitworkedlasttime.com/robbie/?p=9</guid>
		<description><![CDATA[Finally got round to updating all client &#8216;mailto&#8217; links to a server side C# SMTP implementation. though pretty basic it works well enough, despite my ISP&#8217;s constant tinkering with the web servers config.
]]></description>
			<content:encoded><![CDATA[<p>Finally got round to updating all client &#8216;mailto&#8217; links to a server side C# SMTP implementation. though pretty basic it works well enough, despite my <a href="http://www.brinkster.com" title="Brinkster">ISP</a>&#8217;s constant tinkering with the web servers config.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wellitworkedlasttime.com/robbie/index.php/2003/site-update-server-side-smtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>threats and countermeasures</title>
		<link>http://www.wellitworkedlasttime.com/robbie/index.php/2003/paper-threats-and-countermeasures/</link>
		<comments>http://www.wellitworkedlasttime.com/robbie/index.php/2003/paper-threats-and-countermeasures/#comments</comments>
		<pubDate>Fri, 11 Jul 2003 11:59:59 +0000</pubDate>
		<dc:creator>robbie</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.wellitworkedlasttime.com/robbie/?p=12</guid>
		<description><![CDATA[Improving Web Application Security &#8211; Threats and Countermeasures is part of microsoft&#8217;s &#8216;patterns and practises&#8217; group. Though much of the guidance is general best practise, specific guidance is given for .NET web apps. This really is an excellent paper complete with appendices of resource links, checklists and how-to&#8217;s. Which is appropriate to what is a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="msdn.microsoft.com/en-us/library/ms994921.aspx" title="Improving Web Application Security - Threats and Countermeasures" class="broken_link">Improving Web Application Security &#8211; Threats and Countermeasures</a> is part of microsoft&#8217;s &#8216;patterns and practises&#8217; group. Though much of the guidance is general best practise, specific guidance is given for .NET web apps. This really is an excellent paper complete with appendices of resource links, checklists and how-to&#8217;s. Which is appropriate to what is a very practically focused document, not the idealised theorising that it could so easily have been, and which certain other papers in the series indulge in. Simply put, it is an essential read.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wellitworkedlasttime.com/robbie/index.php/2003/paper-threats-and-countermeasures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hijacking .net vol 1: role based security</title>
		<link>http://www.wellitworkedlasttime.com/robbie/index.php/2003/book-hijacking-net-vol-1-role-based-security/</link>
		<comments>http://www.wellitworkedlasttime.com/robbie/index.php/2003/book-hijacking-net-vol-1-role-based-security/#comments</comments>
		<pubDate>Tue, 01 Jul 2003 11:59:59 +0000</pubDate>
		<dc:creator>robbie</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.wellitworkedlasttime.com/robbie/?p=19</guid>
		<description><![CDATA[Hijacking .Net Vol 1: Role Based Security
I had to read this &#8211; touted as the first volume in a series that could be for .NET what Appleman&#8217;s books were for the Win32 API. A fair bit of the book is just a guided tour of windows role based security, well written though. The core of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/exec/obidos/tg/detail/-/B00009AQ5P/qid=1057093889" title="Amazon Link">Hijacking .Net Vol 1: Role Based Security</a></p>
<p>I had to read this &#8211; touted as the first volume in a series that could be for .NET what Appleman&#8217;s books were for the Win32 API. A fair bit of the book is just a guided tour of windows role based security, well written though. The core of the &#8216;hijacking&#8217; part could be boiled down to a couple of pages. Essentially it&#8217;s this:</p>
<p>Marking a class or method as private in .NET impacts its visibility, but not its security boundary &#8211; i.e. it is possible to invoke private methods. And vs.net provides all the means necessary to do so:</p>
<p>Step One &#8211; navigate to the library/class you want with <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpconmsildisassemblerildasmexe.asp" title="MSDN Online">ildasm</a> and have a peek at the IL. From that its pretty straightforward to grok the private objects/methods you might be interested in.</p>
<p>Step Two &#8211; use the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemtypeclassinvokemembertopic.asp" title="MSDN Online">InvokeMember</a> method of the Type class to make use of private class/method.</p>
<p>That&#8217;s it. Classic Win32 API Appleman this is not, how useful the technique is &#8211; I&#8217;m not sure (not in commercial work), but it&#8217;s still worth a read.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wellitworkedlasttime.com/robbie/index.php/2003/book-hijacking-net-vol-1-role-based-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
