David LeBlanc's Web Log
October 2007 - Posts
Writing Secure Code 3
It seems like every time I've gone out in public recently, I've been asked when we were going to update Writing Secure Code 2. I've been seeing comments about it along the lines of "Good, but dated." Ouch. It has been a while – we published WSC2 in 2002,
Read More...
Checking Password Complexity
Michael put some sample code into WSC2 that showed people how to check passwords using the NetValidatePasswordPolicy API. It's a very flexible API, and it's meant to handle situations where an app maintains its own password database, like SQL Server.
Read More...
Safebool
My last post triggered a couple of responses and a URL I thought would be good to not get lost in the comments. Check out http://www.artima.com/cppsource/safebool.html . As I was saying a couple of posts ago, the right tool is usually situational. In
Read More...
C++ operator overloading trivia
Learned something interesting this week that I'll be working into SafeInt 3. It all started out because if you declare a SafeInt class instance, and then try to use it as an array index, the compiler can't figure out which of the several available integer
Read More...
On the Other Hand…
In my previous post on threat models, I pointed out situations where TM's are either a complete waste of time, or maybe we've got bigger problems than design issues. To add a little balance and reinforce one of the points I was trying to make, let's look
Read More...
Search
This Blog
Home
About
Email
Tags
Development
Integer Overflows
Office Crypto
Other
Secure Development
Security Misc
Vulns
Archives
July 2009 (1)
May 2009 (1)
February 2009 (1)
January 2009 (2)
December 2008 (3)
November 2008 (2)
October 2008 (1)
September 2008 (4)
July 2008 (2)
June 2008 (2)
April 2008 (4)
March 2008 (2)
February 2008 (7)
January 2008 (7)
December 2007 (3)
November 2007 (1)
October 2007 (5)
September 2007 (3)
August 2007 (4)
July 2007 (7)
June 2007 (1)
May 2007 (3)
April 2007 (11)
March 2007 (7)
Syndication
RSS 2.0
Atom 1.0