21
6HPLQDU 6ROXWLRQVDQG ,QIUDVWUXFWXUHWRHQVXUH 7UXVWLQ(&RPPHUFH Marco Casassa Mont marco _ casassa - mont @hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories, Bristol, UK www. hpl .hp.com Presentation Outline 2YHUYLHZRI&RQFHSWVDQGEDVLF,QIUDVWUXFWXUH $FFHVV&RQWURO 3.,7UXVW 3ROLF\DQG3ROLF\0DQDJHPHQW 6ROXWLRQVDQG,QIUDVWUXFWXUHWRXQGHUSLQ 7UXVWLQ(&RPPHUFH 3$67(/6+3/%ULVWRO7UXVW$XWKRUL]DWLRQ0DQDJHPHQWLQ%% 0RYLQJ7RZDUGVWKH)XWXUH 7UXVW6HUYLFHVHFRV\VWHP«FUHDWLQJD6DIHW\1HWIRU(&RPPHUFH Terminology $FFHVV&RQWUROFRQWUROORGLDFFHVVR 5ROHUXROR $XWKRUL]DWLRQDXWRUL]]D]LRQH $XWKHQWLFDWLRQLGHQWLILFD]LRQH 3ROLF\SROLWLFKHUHJROHFRQGL]LRQL 3.,3XEOLFNH\,QIUDVWUXFWXUH LQIUDVWUGLFULWWRJUDILDSXEEOLFD 7UXVWILGXFLD«

Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont [email protected] Trusted E-Services Laboratory Hewlett-Packard Laboratories,

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

6HPLQDU�6ROXWLRQV�DQG

,QIUDVWUXFWXUH�WR�HQVXUH

7UXVW�LQ�(�&RPPHUFH

Marco Casassa [email protected]

Trusted E-Services LaboratoryHewlett-Packard Laboratories,

Bristol, UKwww.hpl.hp.com

Presentation Outline

���2YHUYLHZ�RI�&RQFHSWV�DQG�EDVLF�,QIUDVWUXFWXUH�������$FFHVV�&RQWURO��������3.,��7UXVW�������3ROLF\�DQG�3ROLF\�0DQDJHPHQW�

���6ROXWLRQV�DQG�,QIUDVWUXFWXUH�WR�XQGHUSLQ����7UXVW�LQ�(�&RPPHUFH�������3$67(/6��+3/�%ULVWRO����7UXVW��$XWKRUL]DWLRQ�0DQDJHPHQW�LQ�%�%

�� 0RYLQJ�7RZDUGV�WKH�)XWXUH ��7UXVW�6HUYLFHV�HFR�V\VWHP�«�FUHDWLQJ�D�6DIHW\�1HW�IRU�(�&RPPHUFH��

Terminology•�$FFHVV�&RQWURO�����FRQWUROOR�GL�DFFHVVR

•�5ROH�����������������������UXROR

•�$XWKRUL]DWLRQ������DXWRUL]]D]LRQH

•�$XWKHQWLFDWLRQ�����LGHQWLILFD]LRQH

•�3ROLF\��������������������SROLWLFKH��UHJROH��FRQGL]LRQL

•�3.,�����������������������3XEOLF�NH\�,QIUDVWUXFWXUH����������������������������������LQIUDVWU��GL�FULWWRJUDILD�SXEEOLFD�

•�7UXVW��������������������ILGXFLD��«

Page 2: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

PART 1

Overview of Concepts and

Basic Infrastructure

Access ControlOverview

Access Control

•�'HILQHV�ZKDW�D�XVHU�FDQ�GR�RQ�D�UHVRXUFH

•�/LPLWV�WKH�RSHUDWLRQV�WKDW�D�XVHU�RI�D�V\VWHP�FDQ�GR

•�,W�LV�HQIRUFHG�E\�D�5HIHUHQFH�0RQLWRU�ZKLFK�PHGLDWHV��HYHU\�DWWHPSWHG�DFFHVV�E\�D�XVHU�WR�REMHFWV�LQ�WKH�V\VWHP��

Access Control Lists

User 1

User 2

User 3

User n

Resource 1 Resource 2 Resource 3 Resource K

R, W, E

R

R, W

E

Access Control List

•�&RPSOH[LW\�LQ�DGPLQLVWHULQJ�ODUJH�QXPEHU�RI�XVHUV

Page 3: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

Role Based Access Control (RBAC)

•�5ROH��*HQHUDO����VHW�RI�DFWLRQV�DQG�UHVSRQVDELOLWLHV��������������������������������DVVRFLDWHG�ZLWK�D��SDUWLFXODU�DFWLYLW\

•�'HILQLWLRQ�RI�5ROHV�LQ�WKH�V\VWHP��DGPLQLVWUDWRU��HQJLQHHU������������������������������������������������������������SURMHFW�PDQDJHU��HWF��

•�5ROH��FRQWDLQV�DXWKRUL]DWLRQV�RQ�REMHFWV

•�8VHUV�DUH�DVVLJQHG�WR�UROHV

•�6LPSOH�5%$&�PRGHO� �*URXS�EDVHG�$&/������������������������������������������:LQGRZV�17�DFFHVV�FRQWURO��«�

Role Based Access Control (RBAC)

User 1

Resource 1: Document XYZUser 2

User 3

Rights 1: - read - write

Rights 2: - read

Role 1: Manager

Role 2: Employee

3XEOLF�.H\�,QIUDVWUXFWXUH��3.,�

DQG�7UXVW

2XWOLQH

•�%DVLF�3UREOHP��&RQILGHQFH�DQG�7UXVW

•�%DFNJURXQG��&U\SWRJUDSK\��'LJLWDO�6LJQDWXUH���������������������������'LJLWDO�&HUWLILFDWHV

•��;�����3XEOLF�.H\�,QIUDVWUXFWXUH��3.,�

Page 4: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

%DVLF�3UREOHP

IntranetExtranetInternet

AliceBob

%RE�DQG�$OLFH�ZDQW�WR�H[FKDQJH�GDWD�LQ�D�GLJLWDO�ZRUOG�

There are Confidence and Trust Issues …

&RQILGHQFH�DQG�7UXVW�,VVXHV•�,Q�WKH�,GHQWLW\�RI�DQ�,QGLYLGXDO�RU�$SSOLFDWLRQ

������$87+(17,&$7,21

•�7KDW�WKH�LQIRUPDWLRQ�ZLOO�EH�NHSW�3ULYDWH

������&21),'(17,$/,7<

•�7KDW�LQIRUPDWLRQ�FDQQRW�EH�0DQLSXODWHG

������,17(*5,7<

•�7KDW�LQIRUPDWLRQ�FDQQRW�EH�'LVRZQHG

������121�5(38',$7,21

IntranetExtranetInternet

AliceBob

6WDUWLQJ�3RLQW��&U\SWRJUDSK\

&U\SWRJUDSK\

,W�LV�WKH�VFLHQFH�RI�PDNLQJ�WKH�FRVW�RI�DFTXLULQJ�RUDOWHULQJ�GDWD�JUHDWHU�WKDQ�WKH�SRWHQWLDO�YDOXH�JDLQHG

Plaintext Encryption Decryption PlaintextCiphertext

Key Key+HOOR�:RUOG � ��³���� +HOOR�:RUOG

&U\SWRJUDSKLF�$OJRULWKPVAll cryptosystems are based only on three CryptographicAlgorithms:

• MESSAGE DIGEST �0'�������6+$��6+$����«�

• SECRET KEY �%ORZILVK��'(6��,'($��5&�������7ULSOH�'(6��«�

• PUBLIC KEY �'6$��56$��«�

0DSV�YDULDEOH�OHQJWK�SODLQWH[W�LQWR�IL[HG�OHQJWK�FLSKHUWH[W1R�NH\�XVDJH��FRPSXWDWLRQDOO\��LQIHDVLEOH�WR�UHFRYHU�WKH�SODLQWH[W

(QFU\SW�DQG�GHFU\SW�PHVVDJHV�E\�XVLQJ�WKH�VDPH�6HFUHW�.H\

(QFU\SW�DQG�GHFU\SW�PHVVDJHV�E\�XVLQJ�WZR�GLIIHUHQW�.H\V��3XEOLF�.H\�3ULYDWH�.H\��FRXSOHG�WRJHWKHU�

Plaintext Encryption Decryption PlaintextCiphertext

Key Key

Page 5: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

'LJLWDO�6LJQDWXUH

$�'LJLWDO�6LJQDWXUH�LV�D�GDWD�LWHP�WKDW�YRXFKHV�WKH�RULJLQDQG�WKH�LQWHJULW\�RI�D�0HVVDJH

IntranetExtranetInternet

AliceBob

&(57,),&$7(

'LJLWDO�,GHQWLW\�&HUWLILFDWH

Issuer

Subject

IssuerDigitalSignature

Subject Public Key

'LJLWDO�&HUWLILFDWH

• How are Digital Certificates Issued?

• Who is issuing them?

• Why should I Trust the Certificate Issuer?

• How can I check if a Certificate is valid?

• How can I revoke a Certificate?

• Who is revoking Certificates?

3UREOHPV

0RYLQJ�WRZDUGV�3.,�«

3XEOLF�.H\�,QIUDVWUXFWXUH�3.,�

•A Public Key Infrastructure is an Infrastructure

to support and manage Public Key-based

Digital Certificates

• Potentially it is a complex distributed Infrastructure over the Internet

Page 6: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

3XEOLF�.H\�,QIUDVWUXFWXUH�3.,�

)RFXV�RQ�

• X509 PKI

• X509 Digital Certificates

Í Standards defined by IETF, PKIX WG:

http://www.ietf.org/

«�HYHQ�LI�;����LV�QRW�WKH�RQO\�DSSURDFK��H�J��63.,�

;����3.,�±�7HFKQLFDO�9LHZ%DVLF�&RPSRQHQWV�

• Certificate Authority (CA)

• Registration Authority (RA)

• Certificate Distribution System

• PKI enabled applications ³&RQVXPHU´�6LGH

³3URYLGHU´�6LGH

;����3.,�±�6LPSOH�0RGHO

CA

RA

Certification

Entity

Directory

Application

Service

Remote

Person

Local

Person

Certs,

CRLs

Cert. Request

SignedCertificate

Internet

Certificate Revocation Lis t

5HYRNHG�&HUWLILFDWHV

UHPDLQ�LQ�&5/

XQWLO�WKH\�H[SLUH

&HUWLILFDWH�5HYRFDWLRQ�/LVW

Page 7: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

&5/�YV�2&63�6HUYHU

8VHU &$&5/

'LUHFWRU\

'RZQORDG�&5/

&5/

8VHU &$&5/

'LUHFWRU\

'RZQORDG

&5/

&HUWLILFDWH�,'V

WR�EH�FKHFNHG

$QVZHU�DERXW

&HUWLILFDWH�6WDWHV

2&63

6HUYHU

2&63

;����3.,7UXVW�E\

+LHUDUFKLHV�DQG&URVV�&HUWLILFDWLRQ

(DFK�HQWLW\�KDV�LWV�RZQ�FHUWLILFDWH��DQG�PD\KDYH�PRUH�WKDQ�RQH����7KH�URRW�&$¶V�FHUWLILFDWHLV�VHOI�VLJQHG�DQG�HDFK�VXE�&$�LV�VLJQHG�E\�LWVSDUHQW�&$�

(DFK�&$�PD\�DOVR�LVVXH�&5/V���,Q�SDUWLFXODUWKH�ORZHVW�OHYHO�&$V�LVVXH�&5/V�IUHTXHQWO\�

(QG�HQWLWLHV�QHHG�WR�³ILQG´�D�FHUWLILFDWH�SDWK�WRD�&$�WKDW�WKH\�WUXVW�

6LPSOH�&HUWLILFDWH�+LHUDUFK\5RRW�&$

6XE�&$V

(QG�(QWLWLHV

� �

• 0XOWLSOH�5RRWV

• 6LPSOH�FURVV�FHUWLILFDWH

• &RPSOH[�FURVV�FHUWLILFDWH

&URVV�&HUWLILFDWLRQ�DQG0XOWLSOH�+LHUDUFKLHV

Page 8: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

7KLQJV�DUH�JHWWLQJ�PRUH�DQG�PRUH�

FRPSOH[�ZKHQ�+LHUDUFKLHV�DQG�

&URVV�&HUWLILFDWLRQV�DUH�XVHG

;����3.,$SSURDFK�WR�7UXVW���3UREOHPV

,GHQWLW\�LV�1RW�(QRXJK�$WWULEXWH�&HUWLILFDWHV

,(7)��3.,;�:*��LV�DOVR�GHILQLQJ�VWDQGDUGV�IRU�$WWULEXWH&HUWLILFDWHV��$&V��

•�9LVD�&DUG��$WWULEXWH��YV��3DVVSRUW��,GHQWLW\�

•�$WWULEXWH�&HUWLILFDWHV�VSHFLI\�$WWULEXWHV�DVVRFLDWHG

��WR�DQ�,GHQWLW\

•�$WWULEXWH�&HUWLILFDWHV�GRQ¶W�FRQWDLQ�D�3XEOLF�NH\

��EXW�D�UHIHUHQFH�WR�DQ�,GHQWLW\�&HUWLILFDWH

&(57,),&$7(

$WWULEXWH�&HUWLILFDWH

Issuer

Link toOwner’s IdentityCertificate

DigitalSignature

Attributes

Issuer: Bank of BristolSerial number: 4776457Identity certificate link: 64564656Expiration: 1/12/2001AttributesCredit card number: 54356 435 2343Issue date: 23/04/2000Expiration date: 23/04/2005

Digital Signature: 2kjr3rno2;klnm2

Page 9: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

33

:KDW�LV�3ROLF\

���3ROLF\�LV�DERXW�WKH�FRQVWUDLQWV�DQGSUHIHUHQFHV�RQ�WKH�VWDWH��RU�WKH�VWDWHWUDQVLWLRQ��RI�D�V\VWHP�

,W�LV�D�JXLGH�RQ�WKH�ZD\�WR�DFKLHYLQJWKH�RYHUDOO�REMHFWLYH�ZKLFK�LWVHOI�LVDOVR�UHSUHVHQWHG�E\�D�GHVLUDEOHV\VWHP�VWDWH�

([DPSOHV�RI�3ROLFLHV

•�7KH�,7�LQIUDVWUXFWXUH�RI�WKLV�FRPSDQ\�PXVW�EH�VHFXUH

•�2QO\�DXWKRULVHG�SHRSOH�FDQ�DFFHVV�FRPSDQ\�FRQILGHQWLDO���GRFXPHQWV

•�(DFK�HPSOR\HH�PXVW�UHQHZ�WKHLU�SDVVZRUG�HYHU\�����PRQWKV

•�7KH�QHWZRUN�WKURXJKSXW�PXVW�DW�OHDVW�EH�����0ELWV�VHF

3ROLFLHV•�)RFXV�RQ�PXOWLSOH�³,7�LQIUDVWUXFWXUH´�OHYHOV��•�&DQ�EH�YHU\�DEVWUDFW��QHHG�IRU�UHILQHPHQW

•�&DQ�EH�SURJUDPPDWLFDOO\�HQIRUFHDEOH�RU�QRW����IRFXV�RQ�WKH�IRUPHU�RQHV�

3ROLF\�7DUJHWV

Network Layer: - routers - firewall - etc.

System layer: - OSs - PCs - Servers - Domains - etc.

Application Layer: - storage (DBs) - web servers - workflow - etc.

Service Layer

SROLFLHV%XVLQHVV�/D\HU

Page 10: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

37

3ROLF\�5HILQHPHQW

Policy P0

policy P1,1

Policy PX

policy P1,2 policy P1,3

I4I3 Ii

IX,2IX,1

iterative refinementof policy

= State Transition Plan

Policy PY

I = implementable

S� S� S� S� SLS<

IY,1

2%-(&7,9(

SL= desired state

high-level descriptionof what to achieve

concrete description of state to achieve

3ROLF\�5HILQHPHQW��([DPSOH7KH�FRPSDQ\�

,7�LQIUDVWUXFWXUH�PXVW�EH�VHFXUH

7KH�FRPSDQ\�QHWZRUN�

PXVW�EH�VHFXUH

7KH�FRPSDQ\�V\VWHPV

PXVW�EH�VHFXUH

7KH�FRPSDQ\�DSSOLFDWLRQV

PXVW�EH�VHFXUH«

(DFK�3&�PXVW�UXQ

DQ�DQWLYLUXV�

(DFK�3&�PXVW�EH3DVVZRUGSURWHFWHG�

�«

:RUN�RQ�3ROLFLHV• Imperial College London - Morris Sloman, Emil Lupu http://www.doc.ic.ac.uk/~mss/MSSPubs.html Policies for Distributed Systems (Authorization, Obligation Policies …)

• IETF working groups: www.ietf.org policies at the networking level

• Other people: Masullo M.: Policy Management Wies, R. – Neumair, R.: Application of policies Wies: policy specification and transformation Heiler, K.: Policy driven Configuration Mnagement …

• …

3URYLGLQJ�6ROXWLRQV�DQG,QIUDVWUXFWXUH

WR�XQGHUSLQ�7UXVW��LQ%�%�(�&RPPHUFH

3$67(/6

3$57��

Page 11: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

ContextDynamic B2B Environment

8VHU�[

(QWHUSULVH��

2SHUDWLRQ

:HE6HUYLFH�

:HE6HUYLFH�

:HE6HUYLFH�

2SHUDWLRQ

2SHUDWLRQ

2SHUDWLRQ

2SHUDWLRQ

2SHUDWLRQ

2SHUDWLRQ

6HUYLFH3URYLGHU

6HUYLFH3URYLGHU�.

,QWHUQHW

(QWHUSULVH=

%���%

(QWHUSULVH��

(QWHUSULVH��

1RW�7UXVWHG

7UXVWHG

PASTELS Project: Focus

• Framework to deal with Digital Credentials - End to End Credential Exchange - Solutions for Client and Server Side

• Integration of Digital Credentials with Authorization at the E-Service level

Trust and Trust Management is potentially a huge area. Focus on:

E-Market Context

0DUNHW�*RYHUQDQFH

0DUNHW�0DNHUV

0DUNHW�0HGLDWRU

0DUNHWSODFHV

(QWHUSULVHV

7UDGHUV

,QWHUQHW

7UXVWHG�7KLUG�3DUWLHV

0DUNHW�*RYHUQDQFH

0DUNHW�0HGLDWRU

Marketplaces

%DQN

(QWHUSULVH�7UDGHU

&UHGHQWLDO�9DOLGDWLRQ

$XWKRUL]DWLRQ�6HUYLFH

,&�

&LWL]HQVKLS�&UHGHQWLDO��$&��

0DUNHW�0DNHU

&UHGHQWLDO�9DOLGDWLRQ

$XWKRUL]DWLRQ

&UHGHQWLDO�8VDJH�0RQLWRULQJ

7UDGLQJ

6HUYLFHV

,GHQWLW\&UHGHQWLDO��,&��

)LQDQFLDO�&UHGHQWLDO�$&��

Simplified E-Market Scenario

,QWHUQHW

&UHGHQWLDO���,VVXDQFH

8VHU

Page 12: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

Example: Market Maker

• The Market Maker Administrator has to decide which Credential Issuers is going to Trust

• The Administrator has to decide how to deal with Credentials Content:

- Attribute Semantic - Defining policies on which Credential Attributes must be accepted - Map to Local Interpretation

Example: Market Maker

• The Administrator has to define Vetting Policies to allow/deny an Enterprise to enter in a Marketplace:

- for example based on Credentials content: Credit Limit, Ranking, Issuer of Credentials, etc.

³$�8VHU�ZLWK�D�&UHGLW�/LPLW�JUHDWHU�WKDW���������DQG�&HUWLILHG�������������E\�,VVXHUV�³,VVXHU�$%&³�FDQ�WUDGH�LQ�WKH�0DUNHWSODFH�;<=��������������GXULQJ�EXVLQHVV�KRXUV´

Example: Market Maker

• The Administrator has to define Authorization Policies for Marketplace Services:

- for example based on Credentials content: Credit Limit, Citizenship Validity, Ranking, etc.

³$�8VHU�FDQ�ELG�LI�WKH\�KDYH�D�YDOLG�&LWL]HQVKLS��WKH�ELG�LV�������������OHVV�WKDQ�WKH�DVVRFLDWHG�&UHGLW�/LPLW�DQG�JUHDWHU�WKDQ�WKH�������������FXUUHQW�SULFH´

PASTELSInfrastructure &

Solutions

Page 13: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

PASTELS: Areas of Interest

&UHGHQWLDO�9DOLGDWLRQ

$XWKRUL]DWLRQ

&UHGHQWLDO�8VDJH�0RQLWRULQJ

6HUYLFHV

(QWHUSULVH��&RQVXPHU

(QWHUSULVH��6HUYLFH�3URYLGHU

&RPPRQ�7UXVWHG7KLUG�3DUWLHV

&OLHQW�,GHQWLW\�&HUWLILFDWH

6HUYHU�,GHQWLW\�&HUWLILFDWH

6HUYHU�$WWULEXWH�&UHGHQWLDOV

&OLHQW�$WWULEXWH�&UHGHQWLDOV

3XEOLVKLQJ�0HFKDQLVPIRU�6HPDQWLF�RI�&UHGHQWLDO

&UHGHQWLDO�0DQDJHPHQW

%URZVHU3OXJ�LQ

Infrastructure and solutions to underpin Trust in B2B: PASTELS

• Models: Credentials, User and Roles, Policies, Services

• Runtime Validation and Authorization Components

PASTELS:Model of

Digital Credentials

Digital Credentials

• Identity Certificates - real life: your passport, identity card, etc.

• Attribute Credentials - real life: your driving license, bank statement, your credit card, etc.

Page 14: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

PASTELS: Attribute CredentialBased on Digital Signed XML

• Attribute Credentials are associated to Identity Certificates by using its Issuer DN and Serial Number:

$WWULEXWH�&UHGHQWLDO������;0/�)LOH�

6LJQDWXUH,GHQWLW\�&UHGHQWLDO

,VVXHU'1

6HULDO�1XPEHU1DPH��«

,VVXHU'16HULDO�1XPEHU&UHGLW�FDUG��«([SLUDWLRQ��«

PASTELS:Attribute Credentials

• Attribute Credentials carry “Attributes” with no Explicit Authorization purposes

• Authorization Policies at Service Level are defined within the Enterprise that provides Services.

• An Attribute defined in a Credential becomes relevant for Authorization purposes in the context of an Authorization Policy

3$67(/6�

0RGHO�RI

8VHUV�DQG�5ROHV

0RGHO���8VHUV��5ROHV8VHU�

5ROH�

5ROH�

8VHU�

8VHU�

8VHU�8VHU�5ROH�$VVRFLDWLRQ

8VHU���5ROH���8VHU�5ROH�$VVRFLDWLRQ�0RGHOV���EDVHG�RQ�$WWULEXWHV�

�������&RUH�$WWULEXWHV�������0DQDJHPHQW�$WWULEXWHV�������&XVWRPLVDEOH�$WWULEXWHV

Page 15: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

1DPH: Marco Casassa Mont

2UJDQLVDWLRQ: Company1

HPDLO: [email protected]

$FFRXQW�FUHDWLRQ�GDWH: 11/03/1999$FFRXQW�H[SLUDWLRQ�GDWH: 31/12/1999

FUHDWHG%\: dddda

DXWKRUL]HG%\:cccc

$FWLYDWLRQ�&RQGLWLRQ: time>9:00, time<16:00

8VHU��;<=

7UDGH�/LPLW: 500

&RUH�$WWULEXWHV

0DQDJHPHQW�$WWULEXWHV

&XVWRPL]DEOH�$WWULEXWHV

5ROH�1DPH: Share Trader

FUHDWLRQ�GDWH: 11/03/1999

H[SLUDWLRQ�GDWH: 31/12/1999

FUHDWHG%\: eeee

DXWKRUL]HV%\:ffff

$FWLYDWLRQ�&RQGLWLRQ: true

5ROH��6KDUH�7UDGHU

VWDWH: active

&DQ�7UDGH: yes

&RUH�$WWULEXWHV

0DQDJHPHQW�$WWULEXWHV

&XVWRPL]DEOH�$WWULEXWHV

FUHDWLRQ�GDWH: 11/03/1999

H[SLUDWLRQ�GDWH: 31/12/1999

FUHDWHG%\: dddda

DXWKRUL]HV%\:cccc

$FWLYDWLRQ�&RQGLWLRQ: true

8VHU�5ROH�$VVRFLDWLRQ

VWDWH: active

5ROH�1DPH: Share Trader8VHU�1DPH: Marco Casassa Mont

&RUH�$WWULEXWHV

0DQDJHPHQW�$WWULEXWHV

0RGHO���8VHUV��5ROHV

PASTELS:

Model of

Authorization Policies

Policy• Logical expression containing constraints on user profile,

user’s roles, system information, service parameters, credential

content, nature of credentials, external information

• Java like policy language. No PROLOG.

• Interpreted at runtime by the Authorization Engine (policy internal representation)

• Policies can be used to describe constraints of different nature:

Validation, Credential Content Management, Authorization

Policy Example$XWKRUL]DWLRQ�3ROLF\�

³$�8VHU�FDQ�ELG�LI�WKH\�KDYH�D�YDOLG�&LWL]HQVKLS�&UHGHQWLDO��WKH�ELG�LV��OHVV�WKDQ�WKH�DVVRFLDWHG�&UHGLW�/LPLW�DQG�JUHDWHU�WKDQ�WKH��FXUUHQW�SULFH´

(;,676����������������$66,*1�&LWL]HQVKLS1XPEHU��&217(;7�&LWL]HQVKLS1XPEHU���9(5,)<����������������&LWL]HQVKLS1XPEHU�YDOXH�!�����������������������&LWL]HQVKLS1XPEHU�SURSHUW\4XDOLILHU� ��DWWULEXWH&UHGHQWLDO���������������������$66,*1�&LWL]HQVKLS&UHGHQWLDO��&LWL]HQVKLS1XPEHU�VFRSH���������������������&LWL]HQVKLS&UHGHQWLDO�,VVXHU'1� �³&1 7KH�0DUNHW*RYHUQDQFH��«�����ELG�ELG9DOXH�!�������ELG�ELG9DOXH�!�FXUUHQW3ULFH�YDOXH����ELG�ELG9DOXH�� �&217(;7�&UHGLW/LPLW��

Page 16: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

PASTELS

Model of Services

0RGHO�RI�6HUYLFHV

Service 1

)XQFWLRQ��

)XQFWLRQ��

)XQFWLRQ��

$XWKRUL]DWLRQ�3ROLFLHV

Explicit Service Model

$SSOLFDWLRQ�6HUYLFH�1DPH: Trading Service

2SHUDWLRQ��Offer

3DUDPHWHUV�

������������������������������������endAuction: Date initialPrice: Integer

2SHUDWLRQ��Bid

3DUDPHWHUV�

�������������������������������������currentPrice: Integer bid: Integer

Authorization PolicyService Model(XML based)

(;,676

����������������$66,*1�&LWL]HQVKLS1XPEHU��&217(;7�&LWL]HQVKLS1XPEHU��

9(5,)<

����������������&LWL]HQVKLS1XPEHU�YDOXH�!����

�����������������&LWL]HQVKLS1XPEHU�SURSHUW\4XDOLILHU� ��DWWULEXWH&UHGHQWLDO���

�����������������$66,*1�&LWL]HQVKLS&UHGHQWLDO��&LWL]HQVKLS1XPEHU�VFRSH��

������������������&LWL]HQVKLS&UHGHQWLDO�,VVXHU'1�� �³&1 7KH�0DUNHW*RYHUQDQFH�����

�ELG�ELG9DOXH�!�����

�ELG�ELG9DOXH�!�FXUUHQW3ULFH�YDOXH���

�ELG�ELG9DOXH�� �&217(;7�&UHGLW/LPLW��

Explicit Service ModelPASTELS

Distributed System

Run-time

Page 17: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

enterprise 3

e-servicecredentials

e-service

PASTELSframework

e-service

enterprise 2

e-servicecredentials

PASTELSframework

e-serviceenterprise 1

user

Browser

the Internet

SSL active session

+LJK�/HYHO�,QWHUDFWLRQ

user attributecredentials

storage

view servercredentials

PULL server credentials

SSL active session

PULL server credentials

PULL newly-issued user credentials

PUSH user credentials

PASTELS FrameworkRuntime Components

- Login Service: manages login, after basic authentication

- Session Manager: manages user sessions

- Credential Validation Manager: validation of Credentials

- Credential Content Manager: manages credential’s content

- User Context Manager: collects user’s profile, roles and credentials

- Authorization Server: Policy driven Authorization Server

- Credential Proxy: PUSH/PULL of credentials (browser plug-in)

- User Context Gateway: gateway to the Credential Usage Monitoring Sys

- Object Pool Manager: cache for user’s profile, roles and credentials

Services:HE6HUYHU )XQFWLRQ

)XQFWLRQ

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

,QWHUQHW

66/

Enterprise

8VHU¶V�*RDO��$FFHVV�6HUYLFH

Services

Credential Validation

:HE6HUYHU )XQFWLRQ

)XQFWLRQ

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

Enterprise

,QWHUQHW

66/

/RJLQ6HUYLFH ,GHQWLW\

&HUWLILFDWH

6HVVLRQ�0DQDJHU

,GHQWLW\�&HUWLILFDWH�9DOLGDWLRQOCSP/CVSP

CA

AA

Page 18: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

Services

Authorization Server

Credential Validation

:HE6HUYHU )XQFWLRQ

)XQFWLRQ

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

Enterprise

,QWHUQHW

66/

3ROLF\�(YDOXDWLRQ����5HTXHVW

/RJLQ6HUYLFH

OCSP/CVSP

CA

AA

6HVVLRQ�0DQDJHU

- Service Model- Authorization Policies

Credential Validationand ManagementPolicies

,GHQWLW\�&HUWLILFDWH�9DOLGDWLRQ

Services

Authorization Server

Credential Validation

:HE6HUYHU )XQFWLRQ

)XQFWLRQ

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

Enterprise

,QWHUQHW

66/

3ROLF\�(YDOXDWLRQ����5HTXHVW

/RJLQ6HUYLFH

OCSP/CVSP

CA

AA

6HVVLRQ�0DQDJHU

Credential Content Mgmt

3ROLF\�(YDOXDWLRQ����5HTXHVW

Abstractor

- Service Model- Authorization Policies

Credential Validationand ManagementPolicies

,GHQWLW\�&HUWLILFDWH�&RQWHQW�0JPW

Services

Authorization Server

Credential Validation

:HE6HUYHU )XQFWLRQ

)XQFWLRQ

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

Enterprise

,QWHUQHW

66/

3ROLF\�(YDOXDWLRQ����5HTXHVW

/RJLQ6HUYLFH

OCSP/CVSP

CA

AA

6HVVLRQ�0DQDJHU

Credential Content Mgmt

3ROLF\�(YDOXDWLRQ����5HTXHVW

Abstractor

8VHUV¶�SURILOHV8VHUV¶�5ROHV8VHUV¶�,GHQWLW\�&UHGHQWLDOV8VHUV¶�$WWULEXWH�&UHGHQWLDO8VHUV¶�$QRQ\PRXV�&UHGHQWLDO

Object Pool Manager (Cache)

User Context

Repository

UserContextManager

- Service Model- Authorization Policies

Credential Validationand ManagementPolicies

8VHU�&RQWH[W�0DQDJHU

Services

Authorization Server

Credential Validation

:HE6HUYHU )XQFWLRQ

)XQFWLRQ

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

Enterprise

,QWHUQHW

66/

3ROLF\�(YDOXDWLRQ����5HTXHVW

/RJLQ6HUYLFH

OCSP/CVSP

CA

AA

6HVVLRQ�0DQDJHU

Credential Content Mgmt

3ROLF\�(YDOXDWLRQ����5HTXHVW

Abstractor

8VHUV¶�SURILOHV8VHUV¶�5ROHV8VHUV¶�,GHQWLW\�&UHGHQWLDOV8VHUV¶�$WWULEXWH�&UHGHQWLDO8VHUV¶�$QRQ\PRXV�&UHGHQWLDO

Object Pool Manager (Cache)

User Context

Repository

UserContextManager

- Service Model- Authorization Policies

Credential Validationand ManagementPolicies

&UHGHQWLDOV8VDJH0RQLWRULQJ6HUYLFH

8VHU�&RQWH[W*DWHZD\

/LQN�WR�³7UXVW9LHZ´

Page 19: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

Services

Authorization Server

Credential Validation

:HE6HUYHU )XQFWLRQ

)XQFWLRQ

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

Enterprise

,QWHUQHW

66/

3ROLF\�(YDOXDWLRQ����5HTXHVW

/RJLQ6HUYLFH

OCSP/CVSP

CA

AA

6HVVLRQ�0DQDJHU

Credential Content Mgmt

3ROLF\�(YDOXDWLRQ����5HTXHVW

Abstractor

8VHUV¶�SURILOHV8VHUV¶�5ROHV8VHUV¶�,GHQWLW\�&UHGHQWLDOV8VHUV¶�$WWULEXWH�&UHGHQWLDO8VHUV¶�$QRQ\PRXV�&UHGHQWLDO

Object Pool Manager (Cache)

User Context

Repository

UserContextManager

- Service Model- Authorization Policies

Credential Validationand ManagementPolicies

&UHGHQWLDOV8VDJH0RQLWRULQJ6HUYLFH

8VHU�&RQWH[W*DWHZD\

&UHGHQWLDO3UR[\

3XVK�&UHGHQWLDO

3XVKLQJ�D�8VHU¶V�$WWULEXWH�&UHGHQWLDO

Services

Authorization Server

Credential Validation

:HE6HUYHU )XQFWLRQ

)XQFWLRQ

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

Enterprise

,QWHUQHW

66/

3ROLF\�(YDOXDWLRQ����5HTXHVW

/RJLQ6HUYLFH

OCSP/CVSP

CA

AA

6HVVLRQ�0DQDJHU

Credential Content Mgmt

3ROLF\�(YDOXDWLRQ����5HTXHVW

Abstractor

8VHUV¶�SURILOHV8VHUV¶�5ROHV8VHUV¶�,GHQWLW\�&UHGHQWLDOV8VHUV¶�$WWULEXWH�&UHGHQWLDO8VHUV¶�$QRQ\PRXV�&UHGHQWLDO

Object Pool Manager (Cache)

User Context

Repository

UserContextManager

- Service Model- Authorization Policies

Credential Validationand ManagementPolicies

&UHGHQWLDOV8VDJH0RQLWRULQJ6HUYLFH

8VHU�&RQWH[W*DWHZD\

Credential Issuer/Push

&UHGHQWLDO3UR[\

3XOO�&UHGHQWLDO

3XOOLQJ�$WWULEXWH�&UHGHQWLDOV

Services

UserContextManager

&UHGHQWLDOV8VDJH0RQLWRULQJ6HUYLFH

Authorization Server

- Service Model- Authorization Policies

Credential Validationand ManagementPolicies

Credential Validation

:HE6HUYHU

6HVVLRQ�0DQDJHU

$XWKRUL]DWLRQ5HTXHVW

)XQFWLRQ

)XQFWLRQ

Credential Issuer/Pusher

3OXJ�,Q

5HPRWH8VHU¶V

%URZVHU�

Credentials

RemoteEnterprise

Enterprise

,QWHUQHW

66/

3ROLF\�(YDOXDWLRQ����5HTXHVW

&UHGHQWLDO3UR[\ Credential

Content Mgmt

3ROLF\�(YDOXDWLRQ����5HTXHVW

User Context

8VHUV¶�SURILOHV8VHUV¶�5ROHV8VHUV¶�,GHQWLW\�&UHGHQWLDOV8VHUV¶�$WWULEXWH�&UHGHQWLDO8VHUV¶�$QRQ\PRXV�&UHGHQWLDO

/RJLQ6HUYLFH

8VHU�&RQWH[W*DWHZD\

Abstractor

Object Pool Manager (Cache)

Repository

OCSP/CVSP

CA

AA

$XWKRUL]DWLRQ�DW�6HUYLFH�/HYHO &UHGHQWLDO�8VDJH0RQLWRULQJ�6HUYLFH

Page 20: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

PASTELS Prototype• Prototype leverages State of the Art technology:

- PKI and PKI toolkits (Baltimore UniCERT, J/PKI-Plus)

- Signed XML (Baltimore X/Secure)

- SSL with full handshake

- Web server technology (IIS, JWS)

- Enterprise Java Beans (EJB)

- Relational Database (MS SQL Server, MS Access)

- Object Oriented Database (Cloudscape)

Trust ManagementPrior Relevant Work

• SPKI (Ellison): Delegation Model

• PolicyMaker (Blaze): Trust Management System - Assertions of certificates and policies - Policy: key <--> local policy - Verify that actions conform to policies and credentials

• IETF: X509 RFC, Attribute Certificate RFC

Trust ManagementPrior Relevant Work

• KeyNote (Blaze): Trust Management System - It derives from PolicyMaker - Common language for credentials and policies - Policy: action permitted by the holder of a public key

• REFEREE (LaMacchia): Trust Management System - Environment to evaluate compliance with policies - Self-regulated by policies - Based on Credentials

PART 3

Moving TowardsThe Future …

Page 21: Presentation Outline Terminologylia.deis.unibo.it/Courses/RetiDiCalcolatori/reti... · Marco Casassa Mont marco_casassa-mont@hp.com Trusted E-Services Laboratory Hewlett-Packard Laboratories,

Dealing with things whenthey go wrong

…Trust Servicesas a Safety Net

For E-Commerce

Internet

B -2-B

E nterprise

User

E nterprise

User

7UXVW�6HUYLFHV 0RYLQJ�7UXVW�WRWKH�(�:RUOG

Trust Services existin the physical

world. In the E-World the wheelsstill need greasing.

However, theinteractions are

different.

1RWDU\

'LVSXWH�5HVROXWLRQ

8QGHUZULWHU

5HSRVLWRU\ ,GHQWLW\WUDFNLQJ

Greasing the wheels ofE-Commerce

1RWDU\

5HVWRUDWLRQ�6HUYLFHV

$FFHVV�&RQWURO

(YLGHQWLDO$QDO\VLV

,GHQWLW\WUDFNLQJ

6WRUDJH�FRQWUDFWV�NH\V�HYLGHQWLDO�GRFXPHQWV

0RQLWRULQJUHDO�WLPH

5HOLDEOH�0HVVDJLQJ

8QGHUZULWHU

&UHGHQWLDO0DQDJHPHQW

3ROLF\

Trust Service Eco-system

Trust ServicesResearch Problems …

• Integrity

• Authenticity

• Confidentiality

• Non-Repudiation

• Longevity

• S urvivability

• Accountability

• S implicity