Secure programming

2026-2027

General Information

Course Code XB_40005
Credits 6 EC
Period P2
Course Level 300
Language of Tuition English
Faculty Faculty of Science
Course Coordinator dr. E. van der Kouwe
Examiner dr. E. van der Kouwe
Teaching Staff dr. E. van der Kouwe
S.A. Oechsner
Part of programme(s)

Practical Information

You need to register for this course yourself. The (de)registration deadlines can be found on VU.nl

Teaching Methods Seminar, Lecture

Target audiences

This course is also available as:

Course Objective

This is an introductory course on computer security. The emphasis will be on how to develop applications with security in mind. At the end of the course, students should be able to demonstrate Knowledge and Understanding (K&U), Applying Knowledge and Understanding (AK&U), and Making Judgements (MJ) for these topics:

  • Basic concepts in computer security (K&U, AK&U)
  • How common vulnerabilities can be exploited to undermine application security and web security. (K&U, AK&U, MJ)
  • How proper design, implementation, and testing can make software more secure (K&U, AK&U, MJ)
  • How cryptography can be applied to make software more secure (K&U, AK&U, MJ)
  • How automated tools can be used to make software more secure (K&U, AK&U, MJ)

The acronyms above refer to the Dublin Descriptors covered by each learning objective, specifically: Knowledge and Understanding (K&U), Applied Knowledge and Understanding (AK&U), Making Judgment (MJ), Learning Skills (LS), and Communication (C).

Course Content

The course is divided in the following modules:

A. Introduction to security and basic terminology

B. Secure programming

  • Designing secure programs
  • Conservative programming
  • Testing for security

C. Cryptography

  • Desired properties
  • Symmetric and asymmetric cryptography
  • Public key infrastructure
  • Simple attacks against cryptography

D. Systems security

  • Memory error vulnerabilities
  • How to exploit vulnerable programs
  • Common defenses against memory errors
  • Web security

Additional Information Teaching Methods

Lectures and practical assignments.

Method of Assessment

The final grade is computed based on a written exam (50%) and the weighted average of practical assignments (50%). There are two assignments, one group assignment (weight 30%) and an individual assignment (weight 20%). To pass the course, the exam grade must be at least 5.5 and the final grade must be at least 5.5.

Please note that your grade will be registered as follows:

  • For the first exam date: if you did not submit any assignments and did not participate in the exam, the result will be registered as no show (NS).
  • For the second exam date: if you did not participate in the resit exam, the result will be registered as no show (NS).
  • In all other cases, you will receive either a numeric grade or incomplete (NVD).
  • If you did not meet the minimum grade requirements for the assignments and/or the exam, but your weighted average is >= 5.5, your grade is NVD.
  • Otherwise, your final grade is your weighted average, rounded to half points except for 5.5.
  • If you plan to drop the course, do not submit anything, as NVD is administratively considered a failing grade.

There is no resit opportunity for the practical assignments. Results for practical assignments and for the exam may be transferred from previous years if their contents did not change significantly since the result was obtained (as determined by the examiner). If you submit an assignment or participate in the exam, the new result replaces any transferred results.

Literature

Lecture slides provided through Canvas.

Additional Information Target Audience

Minor Deep Programming

Additional Information

Use of generative AI is permitted in a limited way, with disclosure

In this course, generative AI (GenAI), such as ChatGPT or similar tools, may be used in a limited way, for example for editorial support, rephrasing, or structure. Substantive contributions from GenAI may only be used within the limits set by the lecturer. Any use of GenAI must always be explicitly disclosed, in accordance with the lecturer's instructions. The student remains fully responsible for the content, quality, and accuracy of the submitted work. Incorrect use of GenAI is considered fraud. If established, the submitted work or assessment result will be declared invalid, and the Examination Board may impose further measures.

Recommended background knowledge

Ability to program in C or C++ is required, preferably in a POSIX environment (such as Linux) and knowledge of x86_64 assembly (reading, not writing) and SQL are strongly recommended.