An often overlooked aspect of software security is the proper allocation and release of resources. Scarce resources like database connections and file handles, if not properly disposed of after use, can result in memory leaks, resource pool consumption and other conditions that may lead to denial of service vulnerabilities. The C# 2.0 using construct can help to eliminate these conditions.