PA193 Secure coding principles and practices

Faculty of Informatics
Spring 2022
Extent and Intensity
2/2/2. 5 credit(s) (plus 2 credits for an exam). Type of Completion: zk (examination).
Taught in person.
doc. RNDr. Petr Švenda, Ph.D. (lecturer)
Arnab Roy, PhD (lecturer)
Miroslav Jaroš (seminar tutor)
Mgr. Ján Masarik (seminar tutor)
Mgr. Milan Patnaik (seminar tutor)
RNDr. Lukáš Ručka (seminar tutor)
Mgr. Marek Sýs, Ph.D. (seminar tutor)
RNDr. Martin Ukrop (seminar tutor)
Mgr. Antonín Dufka (assistant)
Guaranteed by
doc. RNDr. Petr Švenda, Ph.D.
Department of Computer Systems and Communications - Faculty of Informatics
Supplier department: Department of Computer Systems and Communications - Faculty of Informatics
Basic knowledge in applied cryptography and IT security, practical experience in programming with C/C++ language, basic knowledge in formal languages and compilers, user-level experience with Windows and Linux OS
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
The capacity limit for the course is 36 student(s).
Current registration and enrolment status: enrolled: 1/36, only registered: 66/36, only registered with preference (fields directly associated with the programme): 63/36
fields of study / plans the course is directly associated with
there are 31 fields of study the course is directly associated with, display
Course objectives
At the end of this course the student will understand what the typical security issues related to secure coding are. The student will also be able to design applications and write programs in C/C++ and Java in a more secure way.
Learning outcomes
After a course completion, the student will be able to:
- able to review source code for typical security bugs;
- able to properly check and sanitize check program input data;
- able to use standard tools for static and dynamic code analysis and interpret results;
- able to describe typical bugs from concurrent program execution and write code without it;
- able to apply systematic methods to produce code with better resiliency against bugs;
- understand basic cryptographic primitives and their proper use in source code;
  • Language level vulnerabilities, secure programming techniques and approaches, input processing, static and dynamic code checking, binary defenses and exploits, security testing, integrity of modules, concurrent issues, random number generation and usage, security primitives, security code review.
Teaching methods
Lectures, seminars in computer lab, home assignments, team project.
Assessment methods
Written test. Home assignments in seminars. Team project.
Language of instruction
Follow-Up Courses
Further Comments
Study Materials
The course is taught annually.
The course is also listed under the following terms Autumn 2013, Autumn 2014, Autumn 2015, Autumn 2016, Autumn 2017, Autumn 2018, Autumn 2019, Spring 2021.
  • Enrolment Statistics (recent)
  • Permalink: