<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>SecurePasswordTextBox - A textbox that uses the SecureString class</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx</link><description>In a previous post , I mentioned that I was working on a small side project to develop a version of a standard Winforms textbox control that utilises the SecureString class from the System.Security namespace in .Net V2. Well I have finally released this</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: SecurePasswordTextBox - A textbox that uses the SecureString class</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#6245434</link><pubDate>Tue, 03 Jun 2008 17:22:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6245434</guid><dc:creator>Rick</dc:creator><author>Rick</author><description>&lt;p&gt;To avoid overwrite issue, I just disabled pasting from the clipboard altogether by adding this code snippet I found.&lt;/p&gt;
&lt;p&gt;private const int WM_PASTE = 0x0302;&lt;/p&gt;
&lt;p&gt;private const int WM_CONTEXTMENU = 0x7b;&lt;/p&gt;
&lt;p&gt;protected override void WndProc(ref Message m)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;	switch (m.Msg)&lt;/p&gt;
&lt;p&gt;	{&lt;/p&gt;
&lt;p&gt;		case WM_PASTE:&lt;/p&gt;
&lt;p&gt;		case WM_CONTEXTMENU:&lt;/p&gt;
&lt;p&gt;			break;&lt;/p&gt;
&lt;p&gt;		default:&lt;/p&gt;
&lt;p&gt;			{&lt;/p&gt;
&lt;p&gt;				base.WndProc(ref m);&lt;/p&gt;
&lt;p&gt;				break;&lt;/p&gt;
&lt;p&gt;			}&lt;/p&gt;
&lt;p&gt;	}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;It also disables the right-click menu.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6245434" width="1" height="1"&gt;</description></item><item><title>re: SecurePasswordTextBox - A textbox that uses the SecureString class</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#5558062</link><pubDate>Sun, 06 Jan 2008 10:30:52 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5558062</guid><dc:creator>Glav</dc:creator><author>Glav</author><description>&lt;p&gt;Unfortunately no quick fix as I haven't spent much time with the control lately. if you come up with a code fix, I'd be more than happy to incorporate it.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5558062" width="1" height="1"&gt;</description></item><item><title>re: SecurePasswordTextBox - A textbox that uses the SecureString class</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#5552963</link><pubDate>Sat, 05 Jan 2008 16:23:37 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5552963</guid><dc:creator>erhm</dc:creator><author>erhm</author><description>&lt;p&gt;I&amp;#39;ve just downloaded and incorporated this as well. &amp;nbsp;Terrific! &amp;nbsp;Thanks. &amp;nbsp;I have also encountered the overwriting issue, especially when I use cntl-V to paste in text. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thoughts as to a quick fix? &amp;nbsp;erhm@flash.net&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5552963" width="1" height="1"&gt;</description></item><item><title>Vellas - Programming Blog  &amp;raquo; Blog Archive   &amp;raquo; Sichere Strings</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#5451428</link><pubDate>Thu, 13 Dec 2007 19:52:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5451428</guid><dc:creator>Vellas - Programming Blog  » Blog Archive   » Sichere Strings</dc:creator><author>Vellas - Programming Blog  » Blog Archive   » Sichere Strings</author><description>&lt;p&gt;Pingback from &amp;nbsp;Vellas - Programming Blog &amp;nbsp;&amp;amp;raquo; Blog Archive &amp;nbsp; &amp;amp;raquo; Sichere Strings&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5451428" width="1" height="1"&gt;</description></item><item><title>System.Security.SecureString: una string super sicura</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#3783368</link><pubDate>Fri, 07 Sep 2007 21:05:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3783368</guid><dc:creator>BabbaBlog</dc:creator><author>BabbaBlog</author><description>&lt;p&gt;System.Security.SecureString: una string super sicura&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3783368" width="1" height="1"&gt;</description></item><item><title>Security Day session - Creating Secure Applications with VS2005 and SQL 2005 - Material Sharing</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#737999</link><pubDate>Fri, 27 Oct 2006 16:00:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:737999</guid><dc:creator>Peter Ty's WebLog</dc:creator><author>Peter Ty's WebLog</author><description>We have the Security Day in Hong Kong this week, yesterday was for insfrastructure and today's topics&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=737999" width="1" height="1"&gt;</description></item><item><title>SecurePasswordTextBox control for .NET 2.0</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#457499</link><pubDate>Sat, 15 Jul 2006 06:11:31 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:457499</guid><dc:creator>Keyvan Nayyeri</dc:creator><author>Keyvan Nayyeri</author><description>&lt;p&gt;Paul Glavich has released his SecurePasswordTextBox based on SecureString class in System.Security namespace&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=457499" width="1" height="1"&gt;</description></item><item><title>re: SecurePasswordTextBox - A textbox that uses the SecureString class</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#440773</link><pubDate>Wed, 22 Mar 2006 00:57:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:440773</guid><dc:creator>Paul Glavich</dc:creator><author>Paul Glavich</author><description>No, it currently doesn't prevent any keylogging. I dont have any immediate plans to implement this, but may do so in future if time permits -or- someone else may take this up... :-)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=440773" width="1" height="1"&gt;</description></item><item><title>re: SecurePasswordTextBox - A textbox that uses the SecureString class</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#440769</link><pubDate>Tue, 21 Mar 2006 23:57:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:440769</guid><dc:creator>moslem</dc:creator><author>moslem</author><description>Does this control have the functionality of  preventing keylogging (anti-keylogging) ?&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=440769" width="1" height="1"&gt;</description></item><item><title>re: SecurePasswordTextBox - A textbox that uses the SecureString class</title><link>http://weblogs.asp.net/pglavich/archive/2006/02/26/securepasswordtextbox-a-textbox-that-uses-the-securestring-class.aspx#439116</link><pubDate>Mon, 27 Feb 2006 03:38:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:439116</guid><dc:creator>Paul Glavich</dc:creator><author>Paul Glavich</author><description>Thanx Guys.&lt;br&gt;&lt;br&gt;As for the overwriting issue, yeah my testing is minimal so I'll have a look and fix it up. Shouldn't be too hard.&lt;br&gt;&lt;br&gt;Thx for letting me know.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=439116" width="1" height="1"&gt;</description></item></channel></rss>