ArticleslgStudy

computer science

Take-grant protection model

Take-grant protection model is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Take-grant protection model rather than just read about it. In short: The take-grant protection model is a formal model used in the field of computer security to establish or disprove the safety of a given computer system that follows specific rules. It shows that even though the question of safety is in general undecidable, for specific systems it is decidable in linear time.

Take-grant protection model — main illustration
Take-grant protection model — illustration

Key takeaways

  • Take-grant protection model belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Take-grant protection model to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Take-grant protection model from memory before moving on to harder problems.

Reference excerpt

The take-grant protection model is a formal model used in the field of computer security to establish or disprove the safety of a given computer system that follows specific rules. It shows that even though the question of safety is in general undecidable, for specific systems it is decidable in linear time. The model represents a system as directed graph, where vertices are either subjects or objects. The edges between them are labeled, and the label indicates the rights that the source of the edge has over the destination. Two rights occur in every instance of the model: take and grant. They play a special role in the graph rewriting rules describing admissible changes of the graph. There are a total of four such rules:

take rule allows a subject to take rights of another object (add an edge originating at the subject, or a right to an existing edge) grant rule allows a subject to grant own rights to another object (add an edge terminating at the subject, or a right to an existing edge) create rule allows a subject to create new objects (add a vertex and an edge from the subject to the new vertex) remove rule allows a subject to remove rights it has over on another object (remove a right from an edge originating at the subject, removes the edge if all rights are removed from it) There are also take(o,p,r) and grant(o,p,r), which can be used to take and grant where the above rules would not allow it. Preconditions for take(o,p,r):

subject s has the right Take for o. object o has the right r on p. Preconditions for grant(o,p,r):

subject s has the right Grant for o. s has the right r on p. Using the rules of the take-grant protection model, one can reproduce in which states a system can change, with respect to the distribution of rights. Therefore, one can show if rights can leak with respect to a given safety model.

References Lipton, Richard J.; Snyder, Lawrence (1977). "A Linear Time Algorithm for Deciding Subject Security" (PDF). Journal of the ACM. 24 (3): 455–464. doi:10.1145/322017.322025. Bishop, Matt (2004). Computer security: art and science. Addison-Wesley.

External links Diagram and sample problem Analysis Technical Report PCS-TR90-151 (NASA)

Illustrations

Take-grant protection model: Take-grant protection model rules

Note that the take and grant rules here use take(o,p,r) and grant(o,p,r). For take, S1 is only able to create an edge with the right "r" due to the fact that it has the right "t" on O1, a special right that allows access to taking a right that, in this case, O1 has which S1 doesn't. For grant, S1 already has access to the right "r" via its connection with O2, but through the special right "g", it is able to connect, in this case, O1 to O2.
Take-grant protection model rules Note that the take and grant rules here use take(o,p,r) and grant(o,p,r). For take, S1 is only able to create an edge with the right "r" due to the fact that it has the right "t" on O1, a special right that allows access to taking a right that, in this case, O1 has which S1 doesn't. For grant, S1 already has access to the right "r" via its connection with O2, but through the special right "g", it is able to connect, in this case, O1 to O2.

Worked examples

Example 1 — a first encounter with Take-grant protection model

Start with the simplest possible case. Write down what Take-grant protection model claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Take-grant protection model before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Take-grant protection model ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Take-grant protection model

In research
Take-grant protection model appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Take-grant protection model in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Take-grant protection model is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer security models, so understanding it makes those chapters shorter.
In everyday life
Look for Take-grant protection model outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Take-grant protection model” →

How to study Take-grant protection model in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Take-grant protection model means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Take-grant protection model out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Take-grant protection model in simple terms?

The take-grant protection model is a formal model used in the field of computer security to establish or disprove the safety of a given computer system that follows specific rules. It shows that even though the question of safety is in general undecidable, for specific systems it is decidable in li…

Why does Take-grant protection model matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Take-grant protection model?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Take-grant protection model.

Tags

  • Computer security models

Keep exploring