This book covers the fundamental principles in Computer Security. Via hands-on activities, the book aims to help readers understand the risks with software application and computer system, how various attacks work, what their fundamental causes are, how the countermeasures work, and how to defend against them in programs and systems.