Secure TextBox Updated

Published Sunday, October 29, 2006 4:53 PM

There has been quite some interest in my SecureTextBox control that I developed. Basically it offers textual entry via a standard textbox, but uses the SecureString as its internal storage. Typically aimed at entering passwords and similar secure information on a windows form.

Domink Zemp recently downloaded the control and has been using it with good success. He was also nice enough to forward some changes and improvements to the control to better handle the TAB, ENTER and ESCAPE keys. The new code has been posted on my site here. (http://www.theglavs.com/DownloadItem.aspx?FileID=46).

Incidentally, its been one of my more popular downloads. Its now clocked in at around 2500 downloads and steadily climbing.

It had a good plug from one of the Microsoft guys over in Hong Kong too. You can read about it here. It was used as collateral for a security presentation that was being delivered. Pretty cool.

Anyway, special thanks to Dominik who was nice enough to send through the changes to improve the control. Its always nice to hear from the community, how something is going, after you've let something loose in the community.

Comments

# Corneliu I. Tusnea said on Monday, October 30, 2006 11:41 PM

Glavs, You might be interested in seeing this tool: http://acorns.com.au/cs/blogs/parallelthinking/archive/2006/10/26/Hawkeye_See_SecureString.aspx Regards, Corneliu.

# depotdog@gmail.com said on Tuesday, January 16, 2007 3:47 PM

Any way to submit a completed password to the textbox. I am generating a random password showing it to the user, and if they accept it, I want to submit it for encryption.

Thanks,

DD

# Alex said on Wednesday, March 05, 2008 5:14 PM

Hi,

can't seem to find an email address here, so I'll just do it by comment. I've used your secure textbox in a project of mine that I've hosted on MSDN code gallery.

More information about that here:

alexduggleby.com/.../a-reusable-secure-login-form

and

code.msdn.microsoft.com/UtilsCommonViews

I hope you don't mind that I've distributed a release dll version of your control in the project. I've linked to your site on both sites, but if that's a problem just send me a message and I'll get the library removed from the releases.

Thanks,

Alex

# Protect your passwords - The SecureString Class said on Friday, April 18, 2008 2:27 PM

Pingback from  Protect your passwords - The SecureString Class

# S said on Friday, June 20, 2008 12:51 PM

Pasting is not handled properly in the SecureTextBox.

# S said on Friday, June 20, 2008 2:56 PM

Selecting text and pressing backspace also doesn't work correctly.

# Glav said on Saturday, June 21, 2008 2:24 AM

HI S,

Yep, I know about those issues but the control as it currently exists suits the purpose for which I originally used it. Feel free to grab the code and change it, I just dont have the time right now though.

Thanks for the comments.

Leave a Comment

(required) 
(required) 
(optional)
(required)