The importance of correct specifications, secure software development, and quality code in software implementation. It covers topics such as the importance of exhaustive program functionality descriptions, the limitations of test-and-fix models, secure data handling, and common coding errors like buffer overflows and side channel attacks.
Download Software Implementation: Spec Correctness, Secure Software, Code Quality (75 characters) and more Slides Network security in PDF only on Docsity!
1
Implementation
2
Implementation
Correctness of specifications
Steps to follow for secure software
Quality of code
4
Correctness of Specifications
Test-and-fix is not a good model for
program development
Testing can only show the presence of
bugs, never the absence of bugs (Dijkstra)
Lax attitude
Wordprocesser crashes with lost work simply calls for recreating the document
User mistake in not saving work periodically
5
Secure Software
Destroy information that is no longer
needed
In Java, all objects remain on the heap.
Heap is garbage collected. Remove
content in the garbage collector.
Remove memory allocated for local
variables using commands like ‘memset’ in
C programming
7
Quality of Code
Simple
Modular
Buffer overflows
Causes half of the security problems today
Problem known for over 40 years
C and C++ allow buffer overflows
Don’t switch off array bounds checking
8
Quality of Code
Side channel attack
Means observing related information such as electricity consumption, magnetic disturbance, RF emissions, timing of actions on the system