Skip to Main content Skip to Navigation
Conference papers

Some “Secure Programming” Exercises for an Introductory Programming Class

Abstract : Ideally, computer security should be an integral part of all programming courses. Beginning programming classes pose a particular challenge, because the students are learning basic concepts of programming. Thus, teaching them about buffer overflows as security problems, requiring an explanation of concepts such as “smashing the stack,” will confuse students more than motivate them to check array bounds. Advanced concepts such as race conditions require more background than the students have, or will have, when taking introductory programming classes. An alternate approach is to teach the underlying concepts of robust programming; preventing crashes or errors is central to such a course. This paper presents some exercises that illustrate this approach, and some thoughts on what constitutes “secure programming”.
Document type :
Conference papers
Complete list of metadata

Cited literature [2 references]  Display  Hide  Download
Contributor : Hal Ifip Connect in order to contact the contributor
Submitted on : Thursday, February 9, 2017 - 3:45:03 PM
Last modification on : Wednesday, August 7, 2019 - 12:19:20 PM
Long-term archiving on: : Wednesday, May 10, 2017 - 2:32:41 PM


Files produced by the author(s)


Distributed under a Creative Commons Attribution 4.0 International License



Matt Bishop. Some “Secure Programming” Exercises for an Introductory Programming Class. 8th World Conference on Information Security Education (WISE), Jul 2009, Bento Gonçalves, Brazil. pp.226-232, ⟨10.1007/978-3-642-39377-8_26⟩. ⟨hal-01463642⟩



Record views


Files downloads