secure programming Flashcards
1
Q
what is STRIDE?
A
- Spoofing of user identity
- Tampering of data
- Repudiation of actions
- Information disclosure
- Denial of service
- Elevation of privilege
2
Q
how can you prevent malicious input?
A
- ensure input can only be created +modified by trusted parties
- Authenticate source
- Control access to source
3
Q
how can you detect malicious input?
A
- Format
- verify properties of input
- check sums, access log files
4
Q
how should you react to maicious input?
A
- refuse, block
- alert, notify
- log, shut down
5
Q
What is defensive programming?
A
always validate input
-size, format, sequence, integrity, authenticity
anticipate failures and handle them
6
Q
What is a trusted path?
A
A mechanism by which a person at a terminal can communicate directly with the Trusted Computing Base.