Course outline

Active Directory / Intermediate / Lesson 14

Group membership and session context

Compare directory membership, session token, and resource authorization after an approved access change.

About 23 min read20 worked examples20 practice exercisesContent reviewed
On this page

Lesson goals

  • Distinguish directory membership from effective session context.
  • Verify the resource operation and removals without unnecessary broad permissions.
  • Trace direct and nested membership observations through a specific session and resource decision.
  • Design positive and negative access checks for an approved addition or removal.

Start with the access request

A group membership change should have a confirmed account, group, resource, approved operation, owner, and effective time. Work with synthetic identities in an isolated lab. Record the current membership and the resource’s intended access policy before making a change. Adding a user to a group is not itself proof that every application will grant the desired operation, and a support request is not automatically authorization.

Compare directory membership

Inspect the relevant membership on the intended controller and compare it with the approved request. Nested groups and directory replication can complicate the view, so document the path of membership and observation time rather than relying on a display name. A successful directory query establishes only what that controller returned to that reader at that time. Protect group and account details in shared support evidence.

Inspect the session context

Windows access tokens describe the security context of a process and include group security identifiers. An already established session can therefore differ from newly updated directory membership. In the lab, inspect the current identity and groups without collecting credentials, then compare a newly established authorized session if the workflow permits. The commands are illustrative and show the current context, not every permission on a remote application.

powershell Inspect a lab session context
whoami
whoami /groups

These display the current identity and token groups; they do not change membership or prove remote application authorization.

Check the resource boundary

The target resource can apply its own authorization and may have a separate session or entitlement. Compare the actual account, resource path, requested action, and effective policy with the owner’s approval. A group visible in a token does not by itself prove that the resource grants the operation. Do not broaden a share, folder, or application role to bypass a missing piece of evidence.

Verify change and removal

After an authorized lab change, repeat the original operation as the intended user from an appropriate fresh session and verify a representative restriction. Record controller, session context, time, and result. If an old entitlement was meant to be removed, verify its effect separately according to policy; cached sessions and downstream applications may require their own handling. Preserve the previous membership and a rollback plan for the approved change.

text Synthetic verification plan
identity: lab-user
resource: lab-share
check: approved read succeeds
check: unapproved write remains denied

The plan defines intended outcomes and does not claim an access test was executed.

Evidence across three boundaries

The access request names a person, a group, a resource and an operation, but each belongs to a different part of the system. Directory membership is a relationship stored in AD DS. A Windows token is the security context of a particular process or thread, while a resource evaluates its own policy against the context it receives. These are observations at different times and places, not interchangeable versions of a single access switch. Record the account SID, group SID, target path, requested operation and observation time so that a familiar display name cannot conceal a different identity. A successful directory query is evidence about the responding controller, not an immediate guarantee about every session or application.

When two records disagree, preserve both observations with their source and time instead of immediately choosing one as authoritative for every purpose. Trace the specific request from directory state to the session and then to the resource decision. This sequence makes the next diagnostic question explicit and avoids treating a successful administrative change as a successful user test.

Follow the membership path

Direct membership is only one possible path. A user may belong to a group through another group, and the applicable group scopes and trust boundaries constrain which nesting relationships are valid. Draw each edge and identify its domain and group type rather than assuming that a name appearing somewhere in a tree has the intended effect at the target. A query from one controller may differ temporarily from another after an approved change. Compare the controller that accepted the change with the controller relevant to authentication, and investigate replication before rewriting membership. An inaccessible or incomplete query is unknown evidence, not proof of absence.

Tokens and session lifetime

A token describes a particular security context and can include group SIDs and their attributes. An existing process may continue with a context created before membership was changed. Compare its identity and group information with an appropriately established fresh session; record which process and logon context was inspected. A new session is a diagnostic comparison, not a promise that all remote services have discarded their own sessions or caches. A service acting on behalf of a user may use an impersonation token, so the context evaluated at the resource can differ from the interactive process. Never collect passwords or reuse another person’s credentials to make the comparison.

Resource decisions are operation specific

A token carrying a group SID supplies an input to authorization, not the answer. A security descriptor can contain access control entries for trustees and specific rights; the requested operation matters. For a file share, both share and underlying file permissions can constrain an operation. An application may instead use its own role mapping or cached entitlement. If reading works and writing fails, first establish whether writing was approved and then inspect the relevant resource policy and actual identity. A display-name match, group presence, or successful sign-in alone cannot establish permission to modify a file. Do not widen permissions to hide an unexplained difference.

Rights may also depend on inherited entries and other applicable identities. A simplified fixture can isolate one rule for teaching, but a real access decision needs the complete effective policy and the actual requested access mask. Record uncertainty when those inputs are unavailable.

A bounded verification and removal plan

Before a change, capture the intended state, owner approval, affected identity, expected allowed action, representative denied action and rollback condition. Afterward, compare membership, the relevant session context and the exact operation at the resource. Record the controller and times so that replication delay is distinguishable from an older session. Removal also needs separate verification: an existing session or downstream application can retain a previous context, so follow the approved session and application invalidation procedures rather than assuming a directory edit ends every access path. Treat missing observations as open questions and share only the minimum necessary evidence. The fixtures in this lesson are illustrative; no directory or account is contacted.

20 worked examples

1. Direct membership and read

Problem: Does the declared read rule permit Mina in this toy policy?

  1. The directory snapshot shows a direct membership edge from Mina to Readers.
  2. The presented token includes enabled Readers, and the toy rule grants the requested read.
text Illustrative synthetic evidence
directory: Mina -> Readers
token: Mina, Readers (enabled)
resource rule: Readers may read
request: Mina reads report

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Allowed under the stated toy policy.

Why this result follows: The matching enabled group and operation satisfy the declared rule.

2. Nested membership path

Problem: Trace the group that reaches the archive rule in this fixture.

  1. The two membership edges connect Omar to ArchiveReaders through Analysts.
  2. The supplied token includes that resource group, so the archive read matches the rule.
text Illustrative synthetic evidence
directory: Omar -> Analysts -> ArchiveReaders
token: Omar, Analysts, ArchiveReaders (enabled)
resource rule: ArchiveReaders may read
request: Omar reads archive

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Allowed under the stated toy policy; the observed token confirms the modeled path.

Why this result follows: The resource checks the enabled group represented in the supplied context.

3. Old token after addition

Problem: Explain why a newly added member still fails the toy check.

  1. The directory addition occurred after the displayed session context was created.
  2. That old token lacks ReportsReaders, so it cannot match the only listed allow rule.
text Illustrative synthetic evidence
09:00 token: Rami, Staff
09:10 directory: Rami -> ReportsReaders
resource rule: ReportsReaders may read
09:11 request using 09:00 token: read

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Denied by the toy rule; compare an authorized fresh session before changing the resource.

Why this result follows: Directory state and an already created session are separate observations.

4. Controller disagreement

Problem: Choose the next diagnostic step when controller snapshots differ.

  1. DC-A shows the accepted change while DC-B does not yet show it.
  2. Authentication used DC-B, making replication or observation timing a plausible boundary to investigate.
text Illustrative synthetic evidence
10:00 DC-A: Salma -> FinanceRead
10:01 DC-B: Salma not listed in FinanceRead
change accepted by: DC-A
authentication controller: DC-B

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Check replication and repeat the bounded observations; access is not determined from these snapshots.

Why this result follows: One controller response does not establish the state seen by another.

5. Membership removal and old session

Problem: Assess whether this removal alone proves access has ended.

  1. The directory snapshot no longer contains the membership after 11:05.
  2. The displayed older token still contains the enabled group that the toy read rule accepts.
text Illustrative synthetic evidence
11:00 token: Noor, ProjectRead (enabled)
11:05 directory: Noor removed from ProjectRead
resource rule: ProjectRead may read
11:06 request uses 11:00 token

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: The toy rule allows this old context; removal alone does not prove session access ended.

Why this result follows: The resource receives the retained token rather than the later directory snapshot.

6. Read versus write

Problem: Decide both operations against the same token and rule.

  1. The read request matches the explicit DesignReaders read grant.
  2. The fixture supplies no write grant, so the write request does not satisfy this toy policy.
text Illustrative synthetic evidence
token: Hadi, DesignReaders (enabled)
resource rules: DesignReaders -> read; no write grant
requests: read blueprint; write blueprint

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Read allowed; write denied in the declared model.

Why this result follows: A group match does not turn a read right into a write right.

7. Share and file boundary

Problem: Evaluate a file read when two declared boundaries apply.

  1. The share boundary accepts the supplied group for reading.
  2. The file policy lacks the necessary grant, so the request fails the second stated boundary.
text Illustrative synthetic evidence
token: Dina, DocsReaders (enabled)
share policy: DocsReaders -> read
file policy: DocsReaders -> no read grant
request: read document

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Read denied in this simplified two-boundary model.

Why this result follows: Passing the share check cannot replace the required underlying file permission.

8. Different account with same display name

Problem: Identify why the tested identity is not the approved identity.

  1. The approval identifies the account ending in 1101, while the tested token ends in 2202.
  2. Matching display names cannot reconcile two different account identifiers.
text Illustrative synthetic evidence
approval: display=Alex, account SID=S-1-5-21-100-1101
test token: display=Alex, account SID=S-1-5-21-100-2202
resource: lab-report

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: The test does not verify the approved account; repeat only with the intended authorized identity.

Why this result follows: The SID distinguishes the principals despite identical display text.

9. Group renamed without changing identifier

Problem: Interpret a label difference when the group SID is unchanged.

  1. The directory and token show different labels but the same group SID.
  2. The stated rule targets that SID, so its toy read check matches the enabled token entry.
text Illustrative synthetic evidence
directory: label=ResearchRead, SID=S-1-5-21-100-3301
token: label=OldResearch, SID=S-1-5-21-100-3301, enabled
resource rule: SID S-1-5-21-100-3301 -> read

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Read allowed in the toy model; investigate the rename separately if needed.

Why this result follows: The security identifier, not the displayed group label, is the matching trustee.

10. Disabled group entry

Problem: Distinguish a visible group from an enabled allow identity.

  1. The snapshot contains AuditReaders, but explicitly marks that group disabled.
  2. The fixture requires an enabled group for its allow rule, so visibility alone does not match.
text Illustrative synthetic evidence
token: Iman, AuditReaders (disabled)
resource rule: AuditReaders -> read
request: read audit report

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Read denied under this stated toy rule.

Why this result follows: An entry’s attributes matter when interpreting whether it can satisfy an allow check.

11. Application entitlement lag

Problem: Separate Windows group evidence from an application role cache.

  1. The membership and token agree that Lina has AppUsers in the supplied snapshot.
  2. The application rule evaluates its own cached viewer role, which is absent here.
text Illustrative synthetic evidence
directory: Lina -> AppUsers
token: Lina, AppUsers (enabled)
application role cache: Lina = none
app rule: role viewer required for dashboard

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Dashboard access is denied by the stated application rule; check its approved refresh process.

Why this result follows: A Windows token group does not automatically refresh an application-specific role.

12. Multiple paths after removal

Problem: Find the remaining membership route after one edge is removed.

  1. Removing the TeamA edge breaks only the first displayed route.
  2. The TeamB edge and its link to Readers remain in the after snapshot.
text Illustrative synthetic evidence
before: Tariq -> TeamA -> Readers; Tariq -> TeamB -> Readers
change: remove Tariq -> TeamA
after: Tariq -> TeamB -> Readers
question: is another directory path present?

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Yes, the second route remains; assess its legitimacy and session effects separately.

Why this result follows: Nested membership can survive a removal when another path reaches the same group.

13. Resource policy points to another group

Problem: Diagnose a token that contains the wrong resource group.

  1. Farah’s token contains SalesRead, but the resource rule names FinanceRead.
  2. The approved group is also FinanceRead, so investigate the membership and fresh context for that group.
text Illustrative synthetic evidence
token: Farah, SalesRead (enabled)
resource rule: FinanceRead -> read
request: read finance report
approval: FinanceRead requested

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: The toy check denies read; do not substitute SalesRead merely because it is present.

Why this result follows: The group selected by the resource rule must match the presented context.

14. Wrong target tested

Problem: Explain why the successful test cannot establish the requested access.

  1. The approved path ends in reports, whereas the observed success concerns public.
  2. Those resources may have different policies, and no result for reports is supplied.
text Illustrative synthetic evidence
approval: lab-share/reports, read
test: lab-share/public, read -> success
identity: Yusuf
requested resource test: not performed

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Access to reports remains unverified.

Why this result follows: A result is evidence for the exact target and operation that were tested.

15. Unrelated administrator test

Problem: Evaluate the evidence from a privileged test account.

  1. The successful operation was performed as LabAdmin rather than Sara.
  2. The two accounts can carry different groups and rights, so this result does not determine Sara’s access.
text Illustrative synthetic evidence
approval: user=Sara, read lab-report
test identity: LabAdmin
test result: read succeeds
Sara token: not inspected

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Sara’s approved read remains unverified; use her authorized context in the lab.

Why this result follows: Authorization is evaluated for the context actually presented to the resource.

16. Missing query result

Problem: Interpret a failed directory observation without inventing membership.

  1. A timeout returned no usable membership list from DC-C.
  2. Without a completed query or session evidence, neither membership nor its absence is established.
text Illustrative synthetic evidence
query: group=ArchiveReaders, controller=DC-C
result: query timed out
token and resource observations: unavailable

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Status unknown; restore the authorized observation path and repeat.

Why this result follows: An unavailable measurement is not a negative membership result.

17. Fresh token with old app session

Problem: Identify the remaining boundary after a fresh Windows logon.

  1. The new Windows token reflects the removal in the supplied fixture.
  2. The existing portal session retains editor according to its separate stated policy.
text Illustrative synthetic evidence
directory: Eva removed from PortalUsers
new Windows token: PortalUsers absent
existing portal session: role=editor
portal session policy: retained until expiry

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: The portal session can retain editor until the approved invalidation or expiry procedure applies.

Why this result follows: The application session has its own lifecycle beyond the Windows token.

18. Restricted resource path

Problem: Compare parent and child resource policies in a toy tree.

  1. The parent has a TeamRead grant but the child fixture explicitly lacks one.
  2. The requested target is the child, whose listed policy governs the toy decision.
text Illustrative synthetic evidence
token: Kai, TeamRead (enabled)
parent /projects rule: TeamRead -> read
child /projects/private rule: no TeamRead grant
request: read child file

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Child read denied under this simplified fixture; inspect actual inheritance in a real review.

Why this result follows: A parent observation alone does not establish the child’s effective policy.

19. Distinct actions in a verification plan

Problem: Choose a positive and a negative check for approved read-only access.

  1. Check A tests the precise approved operation on the named resource.
  2. Check B tests the representative restriction without requiring broader rights.
text Illustrative synthetic evidence
approval: Mei may read lab-report; write not approved
check A: Mei reads lab-report
check B: Mei writes lab-report
results: A succeeds; B denied

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: The observed pair is consistent with the stated read-only goal, within this test scope.

Why this result follows: Positive and negative operations expose different sides of the intended boundary.

20. Rollback after wrong group change

Problem: Choose the bounded response to a mistaken group addition.

  1. The observed edit grant differs from the approved read-only group and prior state.
  2. The documented rollback removes the unintended edge; its effect and any sessions need separate verification.
text Illustrative synthetic evidence
approved: add Ali to ReportRead
observed change: Ali added to ReportEdit
prior state: Ali absent from both
rollback plan: remove mistaken ReportEdit membership

This fixture states assumptions for reasoning; it was not observed or executed against a directory.

Expected result: Follow the authorized rollback, then verify membership and relevant sessions before the approved change.

Why this result follows: Restoring the recorded prior state limits the effect of the mistaken change.

Common errors and fixes

Treating group addition as proof of access

Why it happens
Session and resource policy were not checked.
How to fix it
Compare the token and actual operation with the owner’s authorization.
Prevent it next time
Verify each boundary after the change.

Testing with a different administrator account

Why it happens
The affected user’s context was not used.
How to fix it
Repeat as the intended identity and session.
Prevent it next time
Record test identity and context.

Broadening the resource to mask a delayed change

Why it happens
Membership, replication, and session were not checked first.
How to fix it
Restore policy and inspect evidence at each boundary.
Prevent it next time
Use a bounded change and rollback plan.

20 practice exercises

1. Membership appears on the controller but not in the user’s old session. What hypothesis follows?

Show hint

Compare when the existing token was created with when the membership changed.

Show worked solution

The token may reflect an older session. Check replication and session context and compare a fresh authorized session before changing the resource.

The controller shows the new directory relationship, but the old session may retain a token created before the addition. Check the relevant controller and replication, then compare the old context with an authorized fresh session and the original resource operation before altering policy.

Check your solution

  • Identify the old token as a plausible explanation rather than a proven cause.
  • Compare a fresh authorized session and verify the intended operation.

2. The group appears in the token but writing is denied. Must broad permission be granted?

Show hint

Identify the requested right and compare it with the resource policy and approval.

Show worked solution

No. Inspect resource policy, the operation, and approved entitlement; read and write rights can differ.

A group in the token supplies an identity for authorization; it does not prove that the resource grants write. Confirm that writing was approved and inspect the relevant policy and actual operation. Read may be allowed while write remains intentionally denied, so broad permission is not justified by this observation alone.

Check your solution

  • State that group presence does not establish write permission.
  • Check the approved right and resource policy before proposing a change.

3. A support record says “group change completed” at 14:00, but omits the changed member, controller and source. A 14:05 access test fails. Construct a minimum evidence table and identify which claims remain unknown before suggesting a repair.

Show hint

A report is not a sourced observation of a particular controller.

Show worked solution

Record the requested member and group as unknown until confirmed, the reporter and time, the failed identity, resource and action, and the test’s controller if known. Obtain the authorized change record and comparable directory and session evidence; neither a change source nor replication failure follows from the report.

Check your solution

  • The change source and affected member are explicitly unknown.
  • The failed operation and its identity, resource and time are recorded.

4. A user is in LabStaff, LabStaff is in LabReaders, and the token contains both. The resource grants LabReaders read only. Predict read and write in this toy policy.

Show hint

Trace the nesting and the requested right.

Show worked solution

The supplied token includes LabReaders, so the declared read rule matches. The toy policy grants no write right, so write is denied; a real assessment would need the full effective policy.

Check your solution

  • Read matches the LabReaders rule.
  • Write remains denied under the stated fixture.

5. An approved request names SID ending 701, but a successful test used SID ending 702 with the same display name. Assess the evidence.

Show hint

Identify the principal independently of its display name.

Show worked solution

The successful test describes a different security principal, because the account SID differs. Record the mismatch and perform the authorized operation with the intended account and appropriate session before declaring the request verified.

Check your solution

  • Distinguish 701 from 702.
  • Do not infer the approved account’s result from the other account.

6. At 08:00 Chen logs in without MapRead. At 08:10 MapRead is added; an 08:15 process still shows the old token. Propose a bounded comparison.

Show hint

Keep the old observation and compare a new context.

Show worked solution

Document the old process and membership time, then compare an authorized fresh session after the relevant controller has the change. Check the new token and the requested map operation; a fresh login does not itself prove remote application refresh.

Check your solution

  • Record that the 08:00 token precedes the addition.
  • Check both the new context and the named resource operation.

7. A token contains enabled DocsRead. The share grants read but the document policy has no read grant in this simplified model. Predict the result and explain.

Show hint

Consider both resource boundaries.

Show worked solution

The share permits the group to pass its read check, but the stated file boundary has no corresponding grant. The simplified request is denied at the file boundary; actual troubleshooting must inspect the complete effective permissions.

Check your solution

  • Identify the share as permitting read.
  • Identify the document policy as the missing grant.

8. A service query times out when checking whether Nia belongs to TravelRead. The request asks for a yes or no answer. What can you responsibly report?

Show hint

A missing observation is not an empty list.

Show worked solution

Report membership as unknown because the query timed out, identify the controller and time, and arrange a permitted repeat or another reliable observation. Neither absence nor membership follows from the timeout alone.

Check your solution

  • Classify the result as unknown.
  • Name a bounded follow-up observation.

9. A directory shows Ben in AppAccess and a fresh token contains AppAccess, yet the portal says role none. The portal uses its own role cache. Locate the next boundary.

Show hint

A token and a portal role are different inputs.

Show worked solution

The directory and Windows context agree in this snapshot, but the portal evaluates its separate cached role. Inspect the approved mapping and refresh procedure, then retest the intended action; do not broaden directory membership to bypass the application.

Check your solution

  • Identify the portal cache as the unresolved boundary.
  • Retest the specified portal action after any authorized refresh.

10. Rosa reaches BudgetRead through TeamEast and TeamWest. Only her TeamEast membership is removed. What path must still be reviewed?

Show hint

Draw both routes before deleting one.

Show worked solution

The TeamWest route still connects Rosa to BudgetRead in the stated graph. Review whether that remaining membership is authorized and assess existing session effects separately; removal of one edge does not prove the other path disappeared.

Check your solution

  • State Rosa → TeamWest → BudgetRead.
  • Separate remaining directory membership from session invalidation.

11. In a toy access rule, a token contains enabled SID 440 and SID 441 marked deny-only. The resource grants read only to SID 441. Explain the result and the next fact needed to evaluate a different resource.

Show hint

An enabled SID is useful only if it matches the trustee, and deny-only is not an allow identity.

Show worked solution

The listed SID 440 does not match the read trustee, and deny-only SID 441 cannot satisfy this allow rule, so the toy read is denied. For a different resource obtain its exact trustee and action rule; this simplified result is not a full Windows access check.

Check your solution

  • SID 440 is not the trustee and SID 441 is deny-only.
  • The result is limited to this toy read rule and resource.

12. An enabled BuildRead group permits read, while the requested operation is delete. The fixture lists no delete grant. Predict the result.

Show hint

A permission for one action is not every right.

Show worked solution

The supplied group satisfies the read rule only. Because the toy policy supplies no delete grant, the delete request is denied; check the actual full policy and approval before proposing any modification.

Check your solution

  • Distinguish read from delete.
  • Do not infer delete access from group presence.

13. A read-only request for /lab/budget succeeds on /lab/public instead. What additional observation is required before closure?

Show hint

Compare the exact resource path.

Show worked solution

The result on /lab/public does not establish the policy or outcome on /lab/budget. Test the approved read as the intended identity against /lab/budget, record its context and outcome, and preserve the public result as separate evidence.

Check your solution

  • Name /lab/budget as the missing target.
  • Use the intended identity and requested read operation.

14. A group is visible in a token but marked disabled; the toy allow rule requires an enabled group. Decide whether that group satisfies the rule.

Show hint

Read the entry attributes as well as its name.

Show worked solution

The disabled entry does not satisfy this fixture’s enabled-group allow condition. Report the failure of that declared condition and investigate the applicable context rather than concluding that the visible name proves access.

Check your solution

  • Notice the disabled attribute.
  • State that the fixture’s enabled condition is unmet.

15. A member is removed at noon, but an 11:30 session still contains the group. Design a removal verification plan without collecting credentials.

Show hint

The old session and current directory are separate observations.

Show worked solution

Confirm the removal on the relevant controller, document the existing session context, and use the approved session invalidation or expiry process. Retest the resource with appropriate fresh context and inspect downstream session handling; never assume the edit alone terminated access.

Check your solution

  • Check directory removal and the older session separately.
  • Include the relevant resource or application session in verification.

16. The owner approves read for Lee, but the operator accidentally adds Lee to Edit. The recorded prior state lacked both groups. What is the first bounded correction?

Show hint

Use the documented rollback and approval boundary.

Show worked solution

Follow the authorized rollback to remove the unintended Edit membership and compare the resulting directory state with the recorded prior state. Review any existing sessions and verify the correction before proceeding with the separately approved read change.

Check your solution

  • Remove the unintended Edit edge under the rollback plan.
  • Verify the state and relevant session effects before adding Read.

17. A token contains MediaRead and a report requires LegalRead. The request approved LegalRead. Which mismatch should be investigated first?

Show hint

Compare the resource trustee with the approved group.

Show worked solution

MediaRead does not match the stated LegalRead rule. Trace the approved LegalRead membership through the relevant controller and session, then test the exact report operation; the unrelated group’s presence is not an authorization result.

Check your solution

  • Identify LegalRead as both approved and required.
  • Trace membership and session before changing the resource rule.

18. A support record says “access works” but omits identity, path, operation, time, and controller. Rewrite it as a useful evidence checklist.

Show hint

A result must be tied to its context.

Show worked solution

Record the account identifier, exact resource path, requested operation and observed result, plus session time and relevant controller observation. Add the approval reference and a representative denied operation where appropriate, while minimizing sensitive details in shared evidence.

Check your solution

  • Include identity, target, operation and outcome.
  • Include timing and controller context without recording secrets.

19. A parent folder grants TeamRead, but the child fixture explicitly has a separate policy with no TeamRead grant. Predict child read under this toy model.

Show hint

Evaluate the target rather than assuming inheritance.

Show worked solution

The request targets the child, and the fixture specifies a separate child policy without a TeamRead grant. Therefore the simplified read is denied; in a real system inspect the actual inherited and explicit entries before deciding.

Check your solution

  • Apply the stated child policy to the child.
  • Avoid asserting an inheritance configuration that the fixture does not provide.

20. In a toy system, read requires both an enabled group on the share and an enabled group on the file. Share grants S; file grants F. Token A has enabled S and F; token B has enabled S only; token C has enabled F only. Build a three-row read matrix and explain the missing boundary for each denial.

Show hint

Evaluate both required boundaries for each token independently.

Show worked solution

A passes both toy rules and is allowed. B passes the share rule but lacks F for the file, while C lacks S at the share even though it has F. B and C are denied in this simplified model; real Windows checks need their complete applicable security context.

Check your solution

  • The matrix reads A allowed, B denied, C denied.
  • The denied rows identify different missing share and file boundaries.

Key takeaways

  • Compare directory membership with session token and resource policy.
  • Verify additions and removals as the affected identity.
  • A controller response is time- and source-specific; replication and incomplete queries affect what it establishes.
  • An existing token or downstream application session can outlive a directory membership change.
  • Test the exact identity, resource and operation against the approved policy, including a representative restriction.

Official references