Theory: How to Approach These
This page has three parts: a role-mapping exercise, a short scenario at MediCare Plus, and a real-world discussion case. All three use the week’s five building blocks.
- Role mapping (Part 1): for every cell, start from None and only raise it to Read or Write if the role’s daily work genuinely requires it (Least Privilege, see 5.2). Write the reason in terms of a task (“needs to record vitals”), not a job title. Then choose the model whose “who decides” matches your design (see 6.2, “Comparing the Four Models”).
- Scenario questions (Part 2): each question is tagged with one building block. Answer that block: lifecycle stage (see 6.1), authentication factors and MFA (see 6.1), least privilege and roles (see 6.2), logs (see 6.3), attribute rules (see 6.2, “Writing an ABAC rule”).
- Recommendations: make them concrete (who does what, by when) like a good policy statement (see 4.3), and ideally from different control types (see 5.1).
- Real-world case (Apple v. OpenAI): this is an unresolved lawsuit. Every factual claim is an allegation: write “Apple alleges…”, never “he did…”. Analyze what the allegations would mean for security management if true.
The Case
Part 1: Role-Mapping Worksheet
MediCare Plus Hospital has three core clinical systems:
| System | Holds |
|---|
| EHR (Electronic Health Records) | Full clinical history, diagnoses, notes |
| Lab (Lab Information System) | Test orders and results |
| Pharmacy | Prescriptions and medication records |
For each of five roles (Doctor, Nurse, Pharmacist, Billing Staff, IT Admin), decide the access level (Read / Write / None) to each system, give a least-privilege reason for anything above None, and pick the access control model (DAC / MAC / RBAC / ABAC) that best fits the design.
Part 2: Scenario: The Unrevoked Contractor
- Two weeks ago, IT contractor Somchai finished his short-term contract with MediCare Plus and left. His hospital account was never disabled.
- Yesterday at 11:40 PM, someone logged into the Pharmacy System with Somchai’s account and changed a patient’s medication order.
- The access log shows the login came from outside the hospital network, using only a password; no second factor was used.
- The Pharmacy System uses RBAC. Somchai’s account belonged to the “IT Support” role, which has Write access to all medication records for every patient, even though contractors like Somchai only ever needed Read access to troubleshoot the system when it broke down.
- IT only found out because a pharmacist noticed the order looked wrong and checked the access log for that patient’s record.
Discussion Case: Apple v. OpenAI
This case comes from a real lawsuit that was still active and unresolved as of September 2026. Everything below describes allegations made in a legal complaint: claims one side is making, not facts a court has confirmed. No party has been found to have done anything wrong, and OpenAI has denied the claims.
- In July 2026, Apple filed a lawsuit in a U.S. federal court alleging that OpenAI and several former Apple employees misappropriated confidential trade secrets about Apple’s unreleased hardware (designs, manufacturing methods, supplier information).
- Apple alleges that a former senior systems electrical engineer, Chang Liu, who left Apple to join OpenAI, still had access to Apple’s third-party cloud storage after leaving, and that a forensic review of a laptop he used after leaving showed he used that access to download dozens of confidential Apple files, including a circuit schematic.
- Apple’s complaint also alleges a broader pattern: that OpenAI advised departing Apple employees on how to avoid Apple’s exit-interview security procedures (for example, not signing documents Apple asked them to sign when leaving, and notifying OpenAI right away if this happened). The complaint states that over 400 former Apple employees now work at OpenAI.
- Apple is seeking damages and an injunction. OpenAI has denied any interest in competitors’ trade secrets. No court has ruled on whether any of the allegations are true.
Case Questions & Model Answers
Exercise P1-Map
Part 1, Access Mapping. Complete the Read / Write / None table for Doctor, Nurse, Pharmacist, Billing Staff and IT Admin across EHR, Lab and Pharmacy, applying Least Privilege and justifying everything above None.
Show solution ↓Hide solution ↑
Solution
Reasonable designs differ in details; what earns marks is that every Read or Write is backed by a real task, and everything else is None. A strong model answer:
| Role | EHR | Lab | Pharmacy |
|---|
| Doctor | Write: diagnoses patients and writes notes and treatment plans | Write: orders tests (and reads results) for their patients | Write: creates prescriptions (but cannot dispense) |
| Nurse | Write: records vitals and updates charts during care | Read: views results to monitor patients and alert doctors | Read: sees medication orders in order to administer them correctly |
| Pharmacist | Read: checks allergies and diagnoses before dispensing | Read: checks results such as kidney function to verify doses | Write: verifies, dispenses and updates medication records |
| Billing Staff | None: billing needs invoices and charge codes from the billing system, not clinical notes | None | None |
| IT Admin | Read (troubleshooting only) | Read (troubleshooting only) | Read (troubleshooting only) |
Notes on the reasoning:
- Doctor vs. Pharmacist on Pharmacy: both have Write, but to different functions: doctors create prescriptions, pharmacists verify and dispense. Neither can complete the whole drug chain alone, which is also Separation of Duties.
- Nurse on Pharmacy is Read, not Write: nurses administer what is ordered; they do not change orders.
- Billing Staff is a classic least-privilege case: the role “can view invoices only.”
- IT Admin: administrators maintain the systems (configuration, accounts, backups) but are not clinicians, so they should never have Write access to clinical content. Read access to records should be limited to troubleshooting, ideally granted temporarily per support ticket, and always logged. This is exactly the access the Part 2 scenario says the IT Support role should have had.
Exercise P1-Model
Part 1, Model choice. Which access control model (DAC / MAC / RBAC / ABAC) best fits your design, and why?
Show solution ↓Hide solution ↑
Solution
Best fit: RBAC, refined with ABAC rules where context matters.
Why RBAC as the base:
- The table itself is a role-to-permission mapping: five roles, each with a fixed set of permissions. That is exactly how RBAC works.
- With about 800 staff, RBAC is easy to manage: a new nurse is assigned the Nurse role and receives exactly the right access on day one (clean provisioning), and moving or leaving staff are handled by changing or removing role assignments (change and deprovisioning).
- It is the most widely used model and easy for non-technical managers to review.
Why add ABAC refinements: RBAC alone gives a nurse access to every patient’s chart. Least privilege is better served by attribute rules such as “only patients under her care, only during her shift, only from a hospital device,” and for IT Admin, “Read only with an open support ticket.” Writing these as ABAC rules avoids role explosion (creating hundreds of ward/shift roles).
Why not the others as the main model:
- DAC: letting each record “owner” share at will gives the hospital no central control over sensitive health data.
- MAC: too rigid for everyday hospital work, although MAC-style labels can still protect a small set of extremely sensitive records (e.g. psychiatric records labelled Restricted).
Exercise P2-Q1
[IDENTITY] Which stage of the Identity Lifecycle failed in this scenario? What should have happened instead?
Show solution ↓Hide solution ↑
Solution
Deprovisioning failed. Somchai left two weeks ago, but his account was never disabled, so it remained a working identity with no legitimate owner.
What should have happened: his account should have been disabled on his last day (MediCare Plus’s Access Control Policy requires revocation within 24 hours of any role or employment change), triggered automatically by the end date of his contract, with the quarterly access recertification as a safety net to catch any account that slipped through.
Exercise P2-Q2
[AUTHENTICATION] What authentication weakness allowed this login to succeed? How would MFA have changed the outcome?
Show solution ↓Hide solution ↑
Solution
Weakness: single-factor authentication: only a password (something you know) was required, even for a login from outside the hospital network. Anyone who knew, guessed or stole Somchai’s password could log in as him.
With MFA: the login would also need a factor from a different category, such as a code from Somchai’s registered phone or a hospital badge (something you have). An attacker with only the password would have been blocked. Even if Somchai himself was the one logging in, MFA would not fix the real root cause (the account should not have existed), but combined with deprovisioning it would remove the easiest path in.
Exercise P2-Q3
[AUTHORIZATION] Was Least Privilege followed for the “IT Support” role? What access should that role have had instead?
Show solution ↓Hide solution ↑
Solution
No. Least privilege means only the access a role strictly needs. Contractors in IT Support only ever needed Read access, to troubleshoot the system when it broke down. Instead, the role had Write access to all medication records for every patient: far more than the job required. That excess is exactly what turned an unrevoked account into a patient-safety incident (a changed medication order) rather than just a privacy problem.
What it should have had: Read-only access, ideally limited in scope and time (for example, only while a support ticket is open), and never Write access to clinical medication orders, which belong to doctors and pharmacists.
Exercise P2-Q4
[ACCOUNTING] How did the hospital find out what happened? What does this tell you about why Accounting matters, even after the damage is done?
Show solution ↓Hide solution ↑
Solution
How it was found: not by any security system. A pharmacist noticed the order looked wrong and then checked the access log for that patient’s record, which showed Somchai’s account, the 11:40 PM time, the outside-network origin and the password-only login.
What it tells us:
- Even though the logs did not prevent or immediately detect the change, they made it possible to reconstruct what happened (forensics), identify which account was used (accountability) and show what was changed so it can be corrected.
- Without the log, the hospital could not even prove the order had been tampered with.
- But it also shows a gap: nobody was monitoring the logs. An alert on “login from outside the network, by a contractor account, at night, editing medication records” could have caught it immediately.
Accounting matters after the fact because it is the evidence; it matters before the fact only if someone actually reviews it.
Exercise P2-Q5
[ACCESS CONTROL MODELS] Would Attribute-Based Access Control (ABAC) have prevented this incident? Describe one attribute-based rule that could have stopped it.
Show solution ↓Hide solution ↑
Solution
Yes, very likely. ABAC decides each request from user, resource and environment attributes in real time, so even with the account still active, the context of this request would have failed the checks.
Example rules (any one is enough):
- Employment-status attribute: “Allow access only if
user.employment_status = Active and today’s date is on or before user.contract_end_date.” Somchai’s contract had ended → denied.
- Location / device attribute: “Allow Write to medication orders only from hospital-network devices.” The login came from outside → denied.
- Role + action attribute: “Allow Write to medication orders only if user.role is Doctor or Pharmacist.” IT Support → denied.
ABAC does not replace deprovisioning, but it adds a second, independent layer (Defense in Depth).
Exercise P2-Q6
[RECOMMENDATION] Write two concrete recommendations for MediCare Plus Hospital to prevent a similar incident in the future.
Show solution ↓Hide solution ↑
Solution
Any two concrete, checkable recommendations; strong examples:
- Automatic deprovisioning (Identity): “All contractor accounts must be created with an expiry date equal to the contract end date and are disabled automatically on that date. HR must notify IT of any early departure, and IT must disable the account within 24 hours. A quarterly access review checks for any active account without a current contract.”
- Least privilege + MFA (Authorization, Authentication): “The IT Support role is reduced to Read-only access to the Pharmacy System, granted only while a support ticket is open. MFA is required for all remote logins and for any change to medication orders.”
Other good answers: an alert to the security team for any medication-order change made by a non-clinical role or from outside the network (detective, Accounting); ABAC rules as in P2-Q5.
Exercise Apple Q1
[IDENTITY LIFECYCLE] Apple alleges that Liu could still reach Apple’s cloud storage after he had already left the company. Which stage of the Identity Lifecycle would this point to, if the allegation is true? Is this only Apple’s responsibility, or could a third-party cloud vendor share some of it?
Show solution ↓Hide solution ↑
Solution
Stage: if the allegation is true, it points to a failure of deprovisioning: access should have been removed when he left, but (according to Apple’s complaint) it still worked afterwards.
Shared responsibility:
- The organization (Apple, in this hypothetical) remains primarily responsible: it decides who should have access and must make sure leaving staff are removed from every system, including third-party services, not just internal ones.
- A third-party cloud vendor could share some responsibility depending on the contract: for example, whether its platform made it easy to revoke access centrally, whether access was tied to the company’s central identity system, or whether separate vendor accounts existed that the company’s offboarding process did not cover.
Lesson for security managers: offboarding checklists must cover all accounts, including cloud and vendor-hosted ones, ideally by connecting them to a single central identity so that disabling one identity cuts off everything.
Exercise Apple Q2
[LEAST PRIVILEGE] Even before Liu left Apple, should a systems engineer have had the level of cloud storage access described in the complaint? What does this case suggest about reviewing access levels for current employees, not just departing ones?
Show solution ↓Hide solution ↑
Solution
Least privilege question: an engineer should have access only to the files his current work requires. If, as alleged, a single engineer could reach and download dozens of confidential files (including material such as a circuit schematic), it is worth asking whether all of that was needed for his role, or whether access had built up over time. We cannot know from the complaint what his job actually required; the point is that the organization should be able to answer that question.
Lesson for current employees: access reviews should not happen only at the exit door. Periodic access recertification (e.g. quarterly) for current staff, plus removing old access at every role change, keeps access matched to the job. Then, even if deprovisioning fails, the leftover access is small, which limits the damage.
Exercise Apple Q3
[ACCOUNTING] Apple’s evidence reportedly came from a forensic examination of a laptop: after the fact, not in real time. What does this tell you about what good Accounting and logging practices need to support, beyond just detecting problems immediately?
Show solution ↓Hide solution ↑
Solution
According to the reports, the evidence Apple relies on came from a forensic review after the fact, not from a real-time alert. This shows that accounting must support investigation and legal proof, not only detection:
- Forensics: logs must capture enough detail (which account, which file, when, from where) to reconstruct events weeks or months later.
- Integrity: records must be tamper-resistant and not editable by the people they watch, or they will not stand up as evidence in a dispute or court.
- Retention: logs must be kept long enough to still exist when a problem surfaces long after it happened.
- Coverage: logging must include third-party/cloud services, not only internal systems.
And the reverse lesson: real-time monitoring (e.g. alerting on a departed employee’s account being used, or on bulk downloads) could have flagged the alleged activity much earlier, if such controls had been in place.
Exercise Apple Q4
[OFFBOARDING POLICY] Apple alleges that OpenAI coached departing employees to sidestep Apple’s exit-interview security process. If you were redesigning MediCare Plus Hospital’s offboarding policy, what would make it harder for an outside party to help an employee bypass it?
Show solution ↓Hide solution ↑
Solution
The key idea: don’t let security depend on the departing person’s cooperation. If offboarding relies on the employee attending an interview and signing documents, anyone who persuades them not to cooperate defeats it. Controls should take effect automatically:
- Automatic, cooperation-free revocation (Fail-Safe Defaults): all accounts, including cloud and vendor accounts, are disabled on the last working day, triggered by HR’s record, whether or not the exit interview happens.
- Obligations signed at the start, not the end: confidentiality and return-of-property obligations are signed at onboarding and in the employment contract, so refusing to sign at exit changes nothing.
- Separation of Duties: offboarding is completed by HR + IT + the department head, each signing off their part, so no single person (or a skipped meeting) can leave access open.
- Monitoring around departures (Detective): extra review of downloads and access in the notice period, and alerts if a departed person’s account is used.
- Device and data return verified against an inventory, with remote wipe for hospital devices that are not returned.
Final answer: make offboarding automatic and multi-layered, so bypassing the exit interview does not leave any access or data in the departing employee’s hands.
Exercise Apple Q5
[ORGANIZATIONAL RESPONSIBILITY] Apple frames this as a pattern across many people, not one “rogue” employee. If a security failure is systemic rather than individual, does that change who should be held responsible: the employees, the hiring organization, or both? Why?
Show solution ↓Hide solution ↑
Solution
There is no single “correct” verdict here (and no court has ruled on these allegations), but a strong answer reasons about both:
- Individuals remain responsible for their own actions: an employee who knowingly takes confidential data breaks their obligations regardless of who encouraged them.
- If a failure is systemic, as Apple alleges (many people, a repeated method, guidance coming from the hiring organization), then responsibility also extends to the organization that created or encouraged the pattern. Systemic problems come from incentives, culture and instructions, and blaming individuals alone would not stop them repeating.
- From a security-management view, a systemic pattern also asks questions of the organization that lost the data: if many departures could, as alleged, sidestep its process, its offboarding controls depended too much on individual cooperation (see Apple Q4).
Final answer: systemic failures point to shared responsibility. Individuals stay accountable for what they do, but an organization that shapes the behaviour (and an organization whose controls allow it repeatedly) also bears responsibility. Always remember: in this case these remain allegations.