<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by dwoodard</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by dwoodard</title>
		<link>http://channel9.msdn.com/Niners/dwoodard/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/dwoodard/Discussions</link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 18:58:52 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 18:58:52 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - Pass hashed info through query string</title>
		<description><![CDATA[<p>It doesn't matter if you are using HTTP GET or POST. If you are passing the hash on an un-encrypted channel, then the hash can be viewed and stolen.
</p>
<p>All that is being hidden is the plain text password. Which means that an attacker doesn't know your password, without cracking it. But if the hash is used for authentication or re-authentication then the attacker can simply pass the stolen hash around to
 get access.<br>
<br>
That is why I mentioned using SSL. </p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/164692-Pass-hashed-info-through-query-string/0ad0145ffc0d4d96bf8e9dea01389114#0ad0145ffc0d4d96bf8e9dea01389114</link>
		<pubDate>Tue, 07 Mar 2006 15:55:32 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/164692-Pass-hashed-info-through-query-string/0ad0145ffc0d4d96bf8e9dea01389114#0ad0145ffc0d4d96bf8e9dea01389114</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Pass hashed info through query string</title>
		<description><![CDATA[<p>Unless you are using SSL, you realize that this is not secure? A hacker wouldn't need to do anything but capture the hash and that would be as good as having the password itself.<br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/164692-Pass-hashed-info-through-query-string/5dd87623de124e63b58f9dea0138906f#5dd87623de124e63b58f9dea0138906f</link>
		<pubDate>Tue, 07 Mar 2006 14:43:27 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/164692-Pass-hashed-info-through-query-string/5dd87623de124e63b58f9dea0138906f#5dd87623de124e63b58f9dea0138906f</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Clear All Textboxes On A Form</title>
		<description><![CDATA[<p>I am using recursion. I was just trying to avoid the time when a TextBox can contain other controls. Whis is terrifying, but possible in Avalon.<br>
<br>
Your version certainly works though.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/79200-Clear-All-Textboxes-On-A-Form/a495c6de2dd74ebc96919dea01241f90#a495c6de2dd74ebc96919dea01241f90</link>
		<pubDate>Tue, 28 Jun 2005 19:44:52 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/79200-Clear-All-Textboxes-On-A-Form/a495c6de2dd74ebc96919dea01241f90#a495c6de2dd74ebc96919dea01241f90</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>18</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Clear All Textboxes On A Form</title>
		<description><![CDATA[<p>Not to beat a dead horse, but if you are looking for a slightly more generic approach, you could write something like this.<br>
<br>
private void ClearTextBoxes(Control parent)<br>
{<br>
<br>
&nbsp;&nbsp;&nbsp; if(parent is TextBox)<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //using String.Empty is better than &quot;&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //because it is static&nbsp;so there is only one allocation<br>
&nbsp;&nbsp;&nbsp;&nbsp; parent.Text = String.Empty;<br>
&nbsp;&nbsp;&nbsp; }<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;foreach(Control control in parent.Controls)<br>
&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(control is TextBox)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;control.Text = String.Empty;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(control.Controls.Count &gt; 0)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ClearTextBoxes(control);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
}<br>
&nbsp;<br>
This would allow you to pass in the parent form, a single tab, a group box a panel or whatever control that could possibly contain a text box.
<br>
<br>
Perhaps it is overkill, but since you asked. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/79200-Clear-All-Textboxes-On-A-Form/c498ab7a7d764498ad4b9dea01241efd#c498ab7a7d764498ad4b9dea01241efd</link>
		<pubDate>Tue, 28 Jun 2005 16:04:08 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/79200-Clear-All-Textboxes-On-A-Form/c498ab7a7d764498ad4b9dea01241efd#c498ab7a7d764498ad4b9dea01241efd</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>18</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why dont Micorsoft use windows forms?</title>
		<description><![CDATA[<p>You bring up some good questions.<br>
<br>
There is a lot of .NET / Windows Forms work going on within Microsoft. I can't speak to the teams I don't work on, but my team is in the process of writing&nbsp;a 99.99% NET WinForms smart client application that is due to ship midyear 2005. We can't make it 100%
 due to some legacy interop constraints.<br>
<br>
I work in Microsoft Business Solutions and a number of products in that division are going through the .NET paces.<br>
<br>
In my specific silo of Business Solutions, we have already shipped 2 Windows Forms applications and have one more in the design phase.<br>
<br>
From my perspective (not MS hype), Windows Forms has provided my team a great productivity boost as well as a huge improvement in design / code quality over our legacy application (classic ASP, COM etc.).<br>
<br>
I'm sure other teams have their reasons to not port to windows forms (legacy code size, development life cycle, longhorn / Whidbey sync etc.).</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/20659-Why-dont-Micorsoft-use-windows-forms/1ccec13005604d6ba3699dea01143ecb#1ccec13005604d6ba3699dea01143ecb</link>
		<pubDate>Thu, 09 Sep 2004 05:44:28 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/20659-Why-dont-Micorsoft-use-windows-forms/1ccec13005604d6ba3699dea01143ecb#1ccec13005604d6ba3699dea01143ecb</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>17</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Object Orientated Design Question</title>
		<description><![CDATA[<p>While this posting doesn't specifically discuss solution design, it does discuss the performance implications of single assembly vs. multiple assemblies.<br>
<br>
<a href="http://blogs.msdn.com/junfeng/archive/2004/02/23/78139.aspx">http://blogs.msdn.com/junfeng/archive/2004/02/23/78139.aspx</a><br>
<br>
Junfeng Zhang works on the Fusion team and has some good insights.<br>
<br>
The bottom line is one assembly is better from a performance perspective than multiple. However there are other benefits of multiple assemblies such as increased modularity and extensibility to name a few.<br>
<br>
<br>
-dan</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/9922-Object-Orientated-Design-Question/249272916f2f4c7293489dea01115900#249272916f2f4c7293489dea01115900</link>
		<pubDate>Tue, 22 Jun 2004 20:52:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/9922-Object-Orientated-Design-Question/249272916f2f4c7293489dea01115900#249272916f2f4c7293489dea01115900</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Least Privilege in Longhorn</title>
		<description><![CDATA[<p>From my barely posted to <a href="http://geekswithblogs.net/dwoodard/archive/2004/01/17/1340.aspx">
blog</a> ...<br>
<br>
<p><a href="http://msdn.microsoft.com/security/default.aspx?pull=/library/en-us/dv_vstechart/html/tchdevelopingsoftwareinvisualstudionetwithnon-administrativeprivileges.asp">Here is a good article</a>&nbsp;on&nbsp;MSDN about running as a non administrator.&nbsp; I personally
 never run as an admin (well accept on virtual images) and it is not as difficult as you might think.</p>
<p>The good thing is as a developer, I don't have to worry if my code will run if the user is not an admin because I have unit tested the crap out of it that way.</p>
<p>Keith Brown of course has some good tips as well.&nbsp; <a href="http://www.develop.com/kbrown/book/html/lifestyle.html">
http://www.develop.com/kbrown/book/html/lifestyle.html</a><br>
<br>
</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/4649-Least-Privilege-in-Longhorn/95fa06c655154f5dac269dea0117d7ec#95fa06c655154f5dac269dea0117d7ec</link>
		<pubDate>Fri, 11 Jun 2004 15:18:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/4649-Least-Privilege-in-Longhorn/95fa06c655154f5dac269dea0117d7ec#95fa06c655154f5dac269dea0117d7ec</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Least Privilege in Longhorn</title>
		<description><![CDATA[<p>There is some great work going into Longhorn around least privilege.<br>
<font face="Century Gothic" size="2"><span><br>
<a title="http://msdn.microsoft.com/longhorn/default.aspx?pull=/library/en-us/dnlong/html/leastprivlh.asp" href="http://msdn.microsoft.com/longhorn/default.aspx?pull=/library/en-us/dnlong/html/leastprivlh.asp">http://msdn.microsoft.com/longhorn/default.aspx?pull=/library/en-us/dnlong/html/leastprivlh.asp</a><br>
<br>
One thing that sounds&nbsp;interesting here is the concept of the &quot;Protected Administrator&quot;.&nbsp; The protected administrator allows you to login as an admin, but only applications that are blessed as administrative applications will run under an administrative token.&nbsp;
 All others will run with least privilege.<br>
<br>
Of course we should all be writing our non admin applications using LUA.&nbsp; But the protected administrator may make it possible for my Mom to run her applications safely.<br>
<br>
Too bad this didn't make it into XP SP2 (Nice pop-up blocker BTW!).<br>
<br>
-dan</span></font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/4649-Least-Privilege-in-Longhorn/4649#4649</link>
		<pubDate>Mon, 26 Apr 2004 16:53:18 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/4649-Least-Privilege-in-Longhorn/4649#4649</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Do you login as admin?</title>
		<description><![CDATA[<p>I do not run as admin at home or at work. As a developer, I have been living Keith Brown's
<a href="http://www.develop.com/kbrown/book/html/lifestyle.html">developer lifestyle</a> for quite a while.&nbsp;I only switch to admin when I need to be an admin.&nbsp;I think this is very important for developers to do as it exposes security issues early in the dev
 cycle.&nbsp;I'm currently developing on Windows 2003 as a non-admin and have stumbled across a few issues that some of my admin-running collegues would have never found.<br>
<br>
A previous poster said a well designed network will make this easier for you and that is true. Even here at Microsoft, some of our IT applications require administrative privileges to run (Try submitting your annual review without being an admin). The cool
 thing though is that when you bring it up to the IT staff they are very receptive to it and willing to try to resolve the issue.<br>
<br>
My biggest issue with the non-admin thing is that you need to have a fairly high degree of technical sophistication in order to accomplish this. While the security enhancements for Windows XP SP2 are great for notifying the user about certain unsafe actions.&nbsp;
 A lot of the actions require you to be an administrator (installing ActiveX controls for example).<br>
<br>
In my example of our annual review tool problem, I had to run Internet Explorer as an administrator then provide my network credentials to access the tool.&nbsp; That worked fine for me, but good thing my grandma wasn't trying to do the same thing!<br>
<br>
The problem as I see it, is with conflicting agendas.&nbsp;We want people to be admins to perform admin tasks (install programs, update the registry etc.) but we don't want to require our users to be administrators to read their email.&nbsp; ClickOnce deployment should
 help somewhat in this area, but you still have the issue of deploying CAS policies.&nbsp;I would love to see Longhorn nail this issue down so that it is easier for users to not run as admin.<br>
<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/380-Do-you-login-as-admin/d2d4bd122f95480692879dea01102071#d2d4bd122f95480692879dea01102071</link>
		<pubDate>Wed, 07 Apr 2004 22:01:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/380-Do-you-login-as-admin/d2d4bd122f95480692879dea01102071#d2d4bd122f95480692879dea01102071</guid>
		<dc:creator>dwoodard</dc:creator>
		<slash:comments>38</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dwoodard/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>