Michael Howard and David LeBlanc

Writing Secure Code

Howard and LeBlanc's habits for code that handles hostile input and powerful privileges, written around Windows.

The argument. Security flaws are mostly ordinary bugs in code that handles untrusted input or too much privilege. The cure is habits: assume input is hostile, give code the least privilege it needs, fail closed, and review for known classes of flaw. The book is written around Windows by two Microsoft security engineers, which makes it a close match for software like ours.

Ideas worth keeping

Where it shows in Classroom Manager

The student service checks what it receives instead of trusting the teacher’s program: files are verified by checksum, packages are signed, and credentials carry roles that the student computer enforces itself.

Who should read it

Developers on Windows, and anyone who wants to understand why careful software seems to refuse things.

Find the book (Open Library) ↗ (opens in a new tab)

Notice: the title, the author's name and any related marks, names and trade dress of the book discussed on this page are the property of their respective owners and are referred to for the purposes of identification, criticism and review only. Dausuva is not affiliated with, sponsored by or endorsed by the author or the publisher. The summary above is original text written by Dausuva, does not reproduce the book, and does not replace it. All rights in the book are reserved by their respective owners.