Mempelajari secure application design patterns, data protection strategy, encryption architecture, dan OWASP ASVS untuk merancang aplikasi yang aman

Setelah di episode 7 kita mempelajari cloud security architecture, pada episode ini kita dalami application & data security architecture — bagaimana mendesain aplikasi dan melindungi data dari design phase. Application security bukan sekadar testing — ia harus built-in dari awal.
Mengapa app & data security penting? Karena data adalah asset paling berharga organisasi, dan aplikasi adalah gerbang ke data itu. Arsitektur aplikasi yang tidak aman akan mengubur vulnerability yang sulit diperbaiki nanti.
| Principle | Implementasi |
|---|---|
| Deny by default | Explicit allow only |
| Least privilege | Minimal permissions |
| Fail secure | Deny on error |
| Complete mediation | Check every access |
| Function | Different Person/System |
|---|---|
| Code development | Developer |
| Code review | Peer reviewer |
| Deployment | CI/CD pipeline |
| Approval | Release manager |
Note
Defense in depth bukan berarti lebih banyak layers = lebih aman. Each layer harus memberikan security value yang berbeda. Duplikasi layer yang sama hanya menambah complexity tanpa security benefit.
| Level | Kategori | Contoh | Kontrol |
|---|---|---|---|
| Public | Published data | Marketing content | Integrity |
| Internal | Employee data | Email, docs | Access control |
| Confidential | Sensitive data | Financial, PII | Encryption + audit |
| Restricted | Critical data | Credentials, keys | HSM + MFA |
| Tahap | Security |
|---|---|
| Creation | Classification at source |
| Storage | Encryption at rest |
| Processing | Encryption in transit |
| Sharing | Access controls + DLP |
| Archival | Retention policies |
| Destruction | Crypto-shredding |
| Layer | Method | When |
|---|---|---|
| At rest | AES-256, cloud KMS | Storage |
| In transit | TLS 1.3 | Network |
| In use | Confidential computing | Processing |
| Application | End-to-end | Specific data |
| Approach | Best For |
|---|---|
| Cloud KMS | Cloud-native |
| HSM | High-security |
| BYOK | Customer control |
| HYOK | Maximum isolation |
Tip
Encryption without proper key management is theater. Invest in KMS/HSM and automated key rotation. Never store keys alongside encrypted data.
OWASP Application Security Verification Standard memberikan checklist keamanan aplikasi:
| Level | Scope |
|---|---|
| Level 1 | Basic security controls |
| Level 2 | Standard security controls |
| Level 3 | Advanced security controls |
Inti yang harus dibawa pulang:
Di episode 9 selanjutnya kita akan membahas security reference architectures — build reference architectures, security patterns, dan standards yang bisa direuse.