From Secure by Design by Dan Bergh Johnsson, Daniel Deogun, and Daniel Sawano

Take 42% off the entire book. Just enter code ssjohnsson into the discount code box at checkout at

Secure by Design¬†teaches developers how to use design to drive security in software development. This book is full of patterns, best practices, and mindsets that you can directly apply to your real world development. You’ll also learn to spot weaknesses in legacy code and how to address them. You’ll start by gaining an understanding of security as a vital concern and not simply a feature, and how good design promotes security. A real-life case study shows how shallow design caused a severe loss of money. Then you’ll dive into practical ways of designing your code to avoid security flaws. You’ll see how to use concrete code constructs that have profound effect on security – for example, immutability, validation, domain primitives, and error handling. Additional topics include how to secure your design through tests, using your delivery pipeline, how to do integration between systems, and how insights from cloud thinking support security. The final part of the book compares different architectures from a security perspective and puts concepts from previous chapters to work. In particular, you’ll learn what to do in a legacy codebase, how to handle a monolith, and what to do when building a microservice architecture. Learn more in the slide deck below.