Secure programmer: prevent race conditions
Learn what a race condition is and why it can cause security problems. This article shows you how to handle common race conditions on UNIX-like systems, including how to create lock files correctly, alternatives to lock files, how to handle the filesystem, and how to handle shared directories (and in particular how to correctly create temporary files in the /tmp directory). You'll also learn a bit about signal handling.
By David A. Wheeler at IBM developerWorks.
[ Read more ]
- Review: Secure Coding: Principles & Practices (17 October 2003)
- Review: The Complete Wireless Internet and Mobile Business Programming Training Course (28 May 2003)
- Review: Building Secure Software: How to Avoid Security Problems the Right Way (18 August 2002)