Authorization Boundary Documentation
Write down exactly which hosts, paths, header manipulations and request rates the edge-testing engagement permits before any request leaves the workstation
Use when: an edge or cache assessment is about to start and the written rules of engagement name no host list, rate ceiling or permitted header set
Avoid when: the program already publishes a machine-readable scope file and the signed rules of engagement list permitted verbs and header classes
Procedure
- Collect the signed rules of engagement, the public program page and any scope file into one place and note the document versions you used.
- List every in-scope hostname, CDN front door, alternative port and staging alias exactly as written, without normalizing or guessing wildcards.
- Record the permitted HTTP verbs, header manipulation classes, request-rate ceiling and the explicit ban list in one table you can quote back.
- Confirm whether direct-to-origin requests, cache-busting query strings and authenticated sessions are allowed, since each changes the test plan.
- Write the boundary as a short pre-flight checklist you re-read before the first request of every session, not as a note you recall from memory.
- Save the boundary text beside the evidence you will collect so a reviewer can prove every recorded request fell inside the permitted set.
Signals
- Rules of engagement mention hosts but are silent on header manipulation or cache-busting
- Program page says 'CDN in scope' while the origin IP is marked out of scope
- Rate limits are described in prose rather than a number you can enforce
- A previous session already recorded requests against a hostname you cannot find in writing
Patterns
1. Boundary record
scope:
hosts: [app.example.test, api.example.test]
verbs: [GET, HEAD]
header_classes: [cache-key-probe, forward-rename]
direct_origin: forbidden
rate_rps: 2
cache_bust: allowed
2. Pre-flight echo
Before session start, restate: hosts, verbs, header classes, rate ceiling, and the two explicit bans. Any element you cannot quote from the document is a gap to resolve, not a permission to assume.
3. Evidence binding
Store boundary.md next to evidence/*.log so each recorded request line has a document version it can be checked against during review.
Pitfalls
- Reading a wildcard as permission for every subdomain when the program lists specific hosts only
- Assuming staging and production share scope because they share a hostname pattern
- Treating an old email thread as current authorization after the program changed its rules
Done when
- A written boundary table names hosts, verbs, header classes, rate ceiling and explicit bans
- Every later evidence file carries the document version used to justify it
References
1---2name: authorization-boundary-documentation3description: "Write down exactly which hosts, paths, header manipulations and request rates the edge-testing engagement permits before any request leaves the workstation. Use when an edge or cache assessment is about to start and the written rules of engagement name no host list, rate ceiling or permitted header set"4pack: edgescout5version: 1.0.06category: web-app7tags: [scope, rules-of-engagement, authorization]8metadata:9 source: https://skillmd.com/skills/wsh7ash/authorization-boundary-documentation10---1112# Authorization Boundary Documentation1314> Write down exactly which hosts, paths, header manipulations and request rates the edge-testing engagement permits before any request leaves the workstation1516**Use when:** an edge or cache assessment is about to start and the written rules of engagement name no host list, rate ceiling or permitted header set1718**Avoid when:** the program already publishes a machine-readable scope file and the signed rules of engagement list permitted verbs and header classes1920## Procedure21221. Collect the signed rules of engagement, the public program page and any scope file into one place and note the document versions you used.232. List every in-scope hostname, CDN front door, alternative port and staging alias exactly as written, without normalizing or guessing wildcards.243. Record the permitted HTTP verbs, header manipulation classes, request-rate ceiling and the explicit ban list in one table you can quote back.254. Confirm whether direct-to-origin requests, cache-busting query strings and authenticated sessions are allowed, since each changes the test plan.265. Write the boundary as a short pre-flight checklist you re-read before the first request of every session, not as a note you recall from memory.276. Save the boundary text beside the evidence you will collect so a reviewer can prove every recorded request fell inside the permitted set.2829## Signals3031- Rules of engagement mention hosts but are silent on header manipulation or cache-busting32- Program page says 'CDN in scope' while the origin IP is marked out of scope33- Rate limits are described in prose rather than a number you can enforce34- A previous session already recorded requests against a hostname you cannot find in writing3536## Patterns3738**1. Boundary record**3940```text41scope:42 hosts: [app.example.test, api.example.test]43 verbs: [GET, HEAD]44 header_classes: [cache-key-probe, forward-rename]45 direct_origin: forbidden46 rate_rps: 247 cache_bust: allowed48```4950**2. Pre-flight echo**5152```text53Before session start, restate: hosts, verbs, header classes, rate ceiling, and the two explicit bans. Any element you cannot quote from the document is a gap to resolve, not a permission to assume.54```5556**3. Evidence binding**5758```text59Store boundary.md next to evidence/*.log so each recorded request line has a document version it can be checked against during review.60```6162## Pitfalls6364- Reading a wildcard as permission for every subdomain when the program lists specific hosts only65- Assuming staging and production share scope because they share a hostname pattern66- Treating an old email thread as current authorization after the program changed its rules6768## Done when6970- A written boundary table names hosts, verbs, header classes, rate ceiling and explicit bans71- Every later evidence file carries the document version used to justify it7273## References7475- [PortSwigger - Web cache deception](https://portswigger.net/web-security/web-cache-deception)76- [OWASP - Testing for improper access control](https://owasp.org/www-project-web-security-testing-guide/)