Algorithm Search⌘K

Modelcore

Chinese Wall model

Also called Brewer-Nash model.

A policy for conflicts of interest in which a subject who has read data of one company may not then read data of a competitor.

The Chinese Wall model, given by Brewer and Nash in 1989, is a model of access control for conflicts of interest, as in a bank, a law firm or a consulting firm that works for competing clients. The data of each client company forms a dataset, and the datasets of competitors form a conflict of interest class. At first a subject may read anything. Once it has read the data of one company, it may no longer read the data of any competitor in the same class: a wall forms around what it has seen. A second rule on writing stops two subjects from moving data across the wall together. The model is the standard example of a history-dependent policy, in which the answer to a request depends on earlier accesses, not only on fixed labels.

The machine

Objects. Each object oo belongs to one company dataset y(o)y(o), and each dataset belongs to one conflict of interest (COI) class x(o)x(o). The COI classes partition the datasets. A special class holds sanitized information, such as published reports, from which no company can be identified; it conflicts with nothing.

State. The state is the history matrix NN, with N[s,o]=trueN[s, o] = \text{true} if subject ss has read object oo. At the start NN is all false.

Read rule (simple security rule). Subject ss may read object oo if and only if, for every object o′o' with N[s,o′]=trueN[s, o'] = \text{true},

y(o′)=y(o)orx(o′)≠x(o).y(o') = y(o) \quad \text{or} \quad x(o') \neq x(o).

That is, oo is inside a dataset that ss has already read, or in a COI class from which ss has read nothing. If the read is granted, N[s,o]N[s, o] becomes true.

Write rule (*-property). Subject ss may write object oo if and only if ss may read oo by the read rule, and ss has read no object with unsanitized information in a dataset other than y(o)y(o).

Cost. In the word RAM model, keep for each subject a hash map from COI class to the dataset it has read in that class, and one flag that says whether it has read unsanitized data from two or more datasets. The read rule is then one lookup, and the write rule one lookup and one test of the set of datasets read, so each request costs O(1)O(1) expected time. The space is O(c)O(c) per subject for cc COI classes.

What it counts

The model decides, for each request and each history, whether the request is allowed. The adversary is an insider, such as an analyst who serves one client and wants to use what he knows to advise a competitor, and any program that runs for him and copies data. The model protects against him alone and against several insiders who pass data through objects. It does not protect against people who talk outside the system, and it does not cover covert channels.

Why the write rule is needed. Without it, Alice reads Bank A and writes into an object of Oil X, which is allowed since banks and oil are different classes. Bob, who has read Bank B and Oil X, then reads that object and learns the data of Bank A. The write rule forbids Alice's write, because she has read unsanitized data of Bank A, a dataset other than Oil X. In effect, a subject that has read unsanitized data of two datasets may not write at all, and a subject that has read unsanitized data of one dataset may write only into that dataset.

Example. Take two COI classes, banks with Bank A and Bank B, and oil with Oil X and Oil Y, and one object of each: oAo_A, oBo_B, oXo_X, oYo_Y. A subject requests reads in this order.

request history before answer reason
read oAo_A none yes no earlier access
read oXo_X oAo_A yes oil is another class
read oBo_B oAo_A, oXo_X no Bank B conflicts with Bank A
read oYo_Y oAo_A, oXo_X no Oil Y conflicts with Oil X
read oAo_A oAo_A, oXo_X yes same dataset as before
write oAo_A oAo_A, oXo_X no has read Oil X data

A subject that has read only oAo_A may write oAo_A.

Relation to other models

  • Bell-LaPadula. Brewer and Nash argued that the Chinese Wall policy cannot be modeled by a fixed assignment of Bell-LaPadula levels, since the access a subject gets depends on what it chose to read first. Their write rule plays the part of the *-property.
  • Lattice labels. Sandhu (1992) showed how to enforce it with lattice labels after all. A label is a vector with one entry per COI class, each entry either empty or one company of that class. The labels form a lattice, and the rules become the Bell-LaPadula rules on these labels, with a distinction between a human user and the sessions he runs. This connects the model to the Denning lattice model.
  • Security automata. The state of one subject is a finite record of what it has read, and a request is denied as soon as the history plus the request breaks the rules. So the policy is a safety property that a security automaton enforces, as the EM-enforceable policies theorem describes.
  • Clark-Wilson and separation of duty. The Clark-Wilson model is the other main commercial model. Both limit what one person can do, but separation of duty splits a task between people, while the Chinese Wall splits clients between people.
  • Mandatory access control. The walls are set by the system, not by the owners of the data, so the policy is mandatory, but its labels change with the history of each subject.

Known results in the model

Each item is a theorem of Brewer and Nash (1989) unless noted.

  • Theorem 1. Once a subject has read an object, the only other objects it can read are in the same dataset or in a different COI class. This is the read rule restated for all later steps, since NN only grows.
  • Theorem 2. A subject can read objects of at most one dataset in each COI class. The first read in a class fixes the dataset, and Theorem 1 excludes the others.
  • Theorem 3. If a COI class has XX datasets, then at least XX subjects are needed for every object of the class to be read by some subject. By Theorem 2 each subject covers at most one dataset of the class. So a firm with XX competing clients in one market needs at least XX analysts for that market.
  • Flow of unsanitized data. Under the read and write rules, unsanitized information can flow only within its own dataset, while sanitized information can flow freely. The proof is that each write moves data from the datasets the writer has read into the dataset of the object, and the write rule allows this only if the writer has read unsanitized data of at most that one dataset.
  • Non-transitive conflicts (Lin 1989). The model assumes that conflict is an equivalence relation, so that the classes partition the datasets. Lin argued that in practice conflict is a symmetric relation that need not be transitive: A may compete with B and B with C while A does not compete with C. He gave a variant in which the read rule uses the binary relation directly. If the read rule denies oo whenever the subject has read a dataset in conflict with y(o)y(o), the analogue of Theorem 2 says that the datasets one subject reads form an independent set of the conflict graph.

References

  1. David F. C. Brewer and Michael J. Nash, The Chinese Wall security policy, Proceedings of the 1989 IEEE Symposium on Security and Privacy, pages 206 to 214, company datasets and conflict of interest classes, the simple security rule, the *-property, sanitized information, and the theorems on the walls
  2. T. Y. Lin, Chinese wall security policy: an aggressive model, Proceedings of the Fifth Annual Computer Security Applications Conference, 1989, pages 282 to 289, the conflict of interest relation as a binary relation that need not be transitive
  3. Ravi S. Sandhu, Lattice-based enforcement of Chinese Walls, Computers and Security 11(8), 1992, pages 753 to 763, the labels with one component per conflict of interest class and the reduction to a lattice-based policy
  4. Matt Bishop, Computer Security: Art and Science, second edition, Addison-Wesley, 2018, Chapter 8, Hybrid Policies (the Chinese Wall model)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/4X2QA6/text.yaml