Click here to Skip to main content
15,893,814 members
Articles / Programming Languages / C#

Secure Coding Technique: A Better C# Password Dialog Box

Rate me:
Please Sign up or sign in to vote.
4.89/5 (19 votes)
6 Aug 20037 min read 124.7K   2.5K   62  
An article demonstrating a better Password Dialog box in C#
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PasswordDialog", "PasswordDialog.csproj", "{B48EE948-DD3B-47F5-9A0D-EF790FB7565C}"
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Debug
		ConfigName.1 = Release
	EndGlobalSection
	GlobalSection(ProjectDependencies) = postSolution
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{B48EE948-DD3B-47F5-9A0D-EF790FB7565C}.Debug.ActiveCfg = Debug|.NET
		{B48EE948-DD3B-47F5-9A0D-EF790FB7565C}.Debug.Build.0 = Debug|.NET
		{B48EE948-DD3B-47F5-9A0D-EF790FB7565C}.Release.ActiveCfg = Release|.NET
		{B48EE948-DD3B-47F5-9A0D-EF790FB7565C}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Canada Canada
O divine art of subtlety and secrecy!
Through you we learn to be invisible, through you inaudible;
and hence hold the enemy's fate in our hands.


-- Sun Tzu, The Art of War, c. 500bc

Sun Tzu said it best. I am your run of the mill security engineering geek that likes to break things. Well more to the point, I like to prevent others from being able to break things.

I dislike the FUD people sling around about how any one piece of software or their OS can completely secure the world. Security is a process and not a product, and should be treated as such. I think General Patton said it best when he said:

“Fixed fortifications are monuments to man’s stupidity.”

I spend most of my days developing code that is part of our security management life cycle, in the hopes people start to realize that static defences are not enough.

I spend most of my time on flavours of Windows (Currently XP) in a set of Cygwin bash shells SSHing to Linux and BSD systems to actually do a lot of my work. My main editor is vim with ctags (I can work faster in it than in Developer Studio) and it works great editing code both locally and remotely.

When I am not in front of a computer I can typically be found at the Squash courts or listening to contemporary jazz like Chris Botti, Diana Krall or Miles Davis (ok... so he is more Blues and fusion but his trumpet still sings). Otherwise, I will be immersed in a book which probably relates to information security, cryptography or has some sort of animal on the cover and is published by OR&A.

Comments and Discussions