🔒 Software Design & Architecture · Architecture Evaluation Factors
Security in Software Design
Protection of data, functions, identities, and system access.
Only the right users should access the right information, and sensitive information must be protected.
A customer can see their own application but cannot change another customer's application by editing a URL.
💡 Like a locked vault with a guest list — only the right people get in, and valuables stay protected.
💡 Why it matters
A breach can leak customer data, break trust, and break the law. Security controls who can access what and keeps sensitive data safe — it must be designed in, not added later.
🛠️ How to achieve it
⚠️ Signs of trouble
- •Access is checked only in the UI, not on the server.
- •Everyone has broad, admin-like access.
- •Sensitive data or secrets appear in logs or URLs.
🎯 Quick check
Score: 0/2Three questions to test the idea.
1. A customer edits a URL to open another customer's record. This is a failure of…
Answer: Authorization (access control)
The server must check that this user is allowed to access that record — not just hide it in the UI.
2. 'Least privilege' means…
Answer: Giving each user or service only the access they actually need
Minimum necessary access limits the damage if an account is misused or compromised.
