This document provides a guide to building secure web applications and web services. It discusses technologies used in web applications, both small-to-medium and large scale. It also covers security architecture and design considerations, as well as policy frameworks for organizational commitment to security, development methodology, coding standards, and source code control. The guide has gone through several revisions and editors over time.