Unit summary

  • Non-malicious errors such as buffer overflow, incomplete mediation and injection arise from broken assumptions; validation and secure design prevent them.
  • Viruses, worms, trojans and ransomware are deliberate; targeted code and zero-days are hard to detect, so layered development, run-time and administrative controls are needed.
  • Database security uses authentication, DAC, RBAC, MAC and views, and must also defend against inference.
  • Integrity rules, ACID transactions, sensitive data protection and encryption keep databases reliable and confidential.

Glossary

Term Meaning
ACID Atomicity, Consistency, Isolation, Durability.
Buffer overflow Writing beyond the end of a memory buffer.
Fuzzing Testing with random or malformed input.
Incomplete mediation Failing to check every access or input.
Inference Deducing sensitive data from allowed results.
RBAC Access control by roles.
Salt Random data added to a password before hashing.
Sandbox An isolated environment with restricted access.
Trojan horse Harmful code disguised as a useful program.
Virus Malware that attaches to a host and spreads when it is run.
Worm Malware that spreads across networks by itself.

Question bank

Short Answer Questions (2 marks each)

Medium Answer Questions (5 marks each)

Long Answer Questions (15 marks each)

Sources

  • Official BCA syllabus Computer Security, course code 25BCA406DS02, Unit II