Computer Security: Art and Science

Slides:



Advertisements
Similar presentations
Partial Orderings Section 8.6.
Advertisements

Information Flow and Covert Channels November, 2006.
June 1, 2004Computer Security: Art and Science © Matt Bishop Slide #30-1 Chapter 30: Lattices Overview Definitions Lattices Examples.
ISA 562 Information System Security
Relations Relations on a Set. Properties of Relations.
Applied Discrete Mathematics Week 11: Graphs
Relations & Their Properties. Copyright © Peter Cappello2 Introduction Let A & B be sets. A binary relation from A to B is a subset of A x B. Let R be.
November 1, 2004Introduction to Computer Security ©2004 Matt Bishop Slide #27-1 Chapter 27: Lattices Overview Definitions Lattices Examples.
CSE115/ENGR160 Discrete Mathematics 05/03/11 Ming-Hsuan Yang UC Merced 1.
Orderings and Bounds Parallel FSM Decomposition Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 10 Update and modified by Marek.
Discrete Mathematics Lecture#11.
Section 7.6: Partial Orderings Def: A relation R on a set S is called a partial ordering (or partial order) if it is reflexive, antisymmetric, and transitive.
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
Relations Chapter 9.
Chapter 9 1. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing.
Relations (3) Rosen 6th ed., ch fall.
Sets, POSets, and Lattice © Marcelo d’Amorim 2010.
Properties of Relations In many applications to computer science and applied mathematics, we deal with relations on a set A rather than relations from.
Discrete Structures – CNS2300
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
2.6 Equivalence Relation §1.Equivalence relation §Definition 2.18: A relation R on a set A is called an equivalence relation if it is reflexive, symmetric,
Chapter 9. Section 9.1 Binary Relations Definition: A binary relation R from a set A to a set B is a subset R ⊆ A × B. Example: Let A = { 0, 1,2 } and.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 8 Relations 歐亞書局.
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 3 September 15, 2009 Mathematical Review Security Policies.
Section 4.4 Properties of Relations. Order Relations Draw an arrow diagram for the relation R defined on the set {1,2,3,4} such that
Discrete Mathematics Lecture # 15 Types of Relations (contd.)
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Set Theory Concepts Set – A collection of “elements” (objects, members) denoted by upper case letters A, B, etc. elements are lower case brackets are used.
1 Equivalence relations Binary relations: –Let S1 and S2 be two sets, and R be a (binary relation) from S1 to S2 –Not every x in S1 and y in S2 have such.
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
Relations Chapter 9 Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Representing Relations Using Digraphs
Discrete Mathematical
Relations and Their Properties
Citra Noviyasari, S.Si, MT
Chapter 5 Relations and Operations
Partial Orderings: Selected Exercises
Relations.
Fixpoints and Reachability
CSE 2813 Discrete Structures
Partial Orderings CSE 2813 Discrete Structures.
Partial Orders (POSETs)
CSE15 Discrete Mathematics 05/03/17
Relations Binary relations represent relationships between the elements of two sets. A binary relation R from set A to set B is defined by: R  A 
Equivalence Relations
Relations Chapter 9.
Partial Orderings.
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 9 Relations Slides are adopted from.
IS 2150 / TEL 2810 Information Security & Privacy
8.5 Equivalence Relations
Introductory Material
Discrete Math (2) Haiming Chen Associate Professor, PhD
8.5 Equivalence Relations and 8.6 Partial Ordering
Applied Discrete Mathematics Week 6: Relations/Digraphs
IS 2150 / TEL 2810 Introduction to Security
IS 2150 / TEL 2810 Introduction to Security
Policy Languages Express security policies in a precise way
MCS680: Foundations Of Computer Science
Computer Security: Art and Science, 2nd Edition
Information Flow.
Introduction to Computer Security
Background material.
9.5 Equivalence Relations
Relations.
Equivalence relations
교환 학생 프로그램 내년 1월 중순부터 6월 초 현재 학부 2,3 학년?
Background material.
IS 2150 / TEL 2810 Introduction to Security
IS 2150 / TEL 2810 Information Security & Privacy
Introductory Material
Presentation transcript:

Computer Security: Art and Science Chapter 30: Lattices Overview Definitions Lattices Examples June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Overview Lattices used to analyze Bell-LaPadula, Biba constructions Consists of a set and a relation Relation must partially order set Partial ordering < orders some, but not all, elements of set June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Sets and Relations S set, R: S  S relation If a, b  S, and (a, b)  R, write aRb Example I = { 1, 2, 3}; R is ≤ R = { (1, 1), (1, 2), (1, 3), (2, 2), (2, 3), (3, 3) } So we write 1 ≤ 2 and 3 ≤ 3 but not 3 ≤ 2 June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Relation Properties Reflexive For all a  S, aRa On I, ≤ is reflexive as 1 ≤ 1, 2 ≤ 2, 3 ≤ 3 Antisymmetric For all a, b  S, aRb  bRa  a = b On I, ≤ is antisymmetric Transitive For all a, b, c  S, aRb  bRc  aRc On I, ≤ is transitive as 1 ≤ 2 and 2 ≤ 3 means 1 ≤ 3 June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Bigger Example C set of complex numbers a  C  a = aR + aIi, aR, aIintegers a ≤C b if, and only if, aR ≤ bR and aI ≤ bI a ≤C b is reflexive, antisymmetric, transitive As ≤ is over integers, and aR , aI are integers June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Partial Ordering Relation R orders some members of set S If all ordered, it’s total ordering Example ≤ on integers is total ordering ≤C is partial ordering on C (because neither 3+5i ≤C 4+2i nor 4+2i ≤C 3+5i holds) June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Upper Bounds For a, b  S, if u in S with aRu, bRu exists, then u is upper bound Least upper if there is no t  S such that aRt, bRt, and tRu Example For 1 + 5i, 2 + 4i  C, upper bounds include 2 + 5i, 3 + 8i, and 9 + 100i Least upper bound of those is 2 + 5i June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Lower Bounds For a, b  S, if l in S with lRa, lRb exists, then l is lower bound Greatest lower if there is no t  S such that tRa, tRb, and lRt Example For 1 + 5i, 2 + 4i  C, lower bounds include 0, -1 + 2i, 1 + 1i, and 1+4i Greatest lower bound of those is 1 + 4i June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Lattices Set S, relation R R is reflexive, antisymmetric, transitive on elements of S For every s, t  S, there exists a greatest lower bound under R For every s, t  S, there exists a least upper bound under R June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Example S = { 0, 1, 2 }; R = ≤ is a lattice R is clearly reflexive, antisymmetric, transitive on elements of S Least upper bound of any two elements of S is the greater Greatest lower bound of any two elements of S is the lesser June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Picture 2 1 Arrows represent ≤; total ordering June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Example C, ≤C form a lattice ≤C is reflexive, antisymmetric, and transitive Shown earlier Least upper bound for a and b: cR = max(aR, bR), cI = max(aI, bI); then c = cR + cIi Greatest lower bound for a and b: cR = min(aR, bR), cI = min(aI, bI); then c = cR + cIi June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop

Computer Security: Art and Science Picture 2+5i 1+5i 2+4i 1+4i Arrows represent ≤C June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop