Preserving Source Permissions During Ingestion
In this article
- Build a permission envelope for a document: normalized allow and deny principals, where an inherited rule came from, and when the permissions were read.
- Resolve what a source states, including a folder rule and a deny on one chapter, without dropping or merging anything.
- Quarantine a restricted file whose permissions are unknown or invalid instead of indexing it as public, and handle a permission-only change without parsing the file again.
- Explain why stored permissions are input to enforcement at retrieval and do not say who is asking.
- Terms defined here: principal.
Overview
In an invented example, Brightline, a home-internet provider, runs a support assistant on its website that answers customers and can look up an order, issue a refund of at most $50 and hand a conversation to a person on the support team. Before the assistant can search them, Brightline's help pages, router manuals, staff handbook and past conversations are read from the systems where they are kept and turned into documents that a search index can take. The company, its files and its groups are made up.
One rule is simple to say: the staff handbook may be read only by the support staff. In the drive, that rule is enforced every time someone opens the file. Once the handbook's text sits in a search index, the drive is no longer asked. Nothing yet says how the rule survives the trip.
When different users may see different content, the access rules have to be kept with that content through processing [1]. Ingestion reads them, so it must hand retrieval permissions it can trust: complete, in one form for every source, dated, and never guessed.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Who does what
- Principals and the permission envelope
- Resolving what the source states
- Unknown is not public
- When only the permissions change
- Common mistakes
- Sources
- Check yourself, 13 questions