Introduzione
File-system cifrati: generalità e spunti progettuali 4
,QWURGX]LRQH
/¶XVRVHPSUHSL LQWHQVLYRGLFRPSXWHUSRUWDWLOLHPHPRULH
WUDVSRUWDELOL LPSRQHGLFRQVLGHUDUHQXRYHPLVXUHGLVLFXUH]]DLQ
JUDGR GL LPSHGLUH O¶DFFHVVR DL GDWL GD SDUWH GL WHU]L QRQ
DXWRUL]]DWL , )LOHV\VWHP FLIUDWL VRQR LQ JUDGR GL IRUQLUH XQD
SURWH]LRQHSDVVLYDDLVXSSRUWLGLGDWDVWRUDJHQHOFDVRJOLVWHVVL
VLDQRVRWWUDWWLRSHUGXWL6HEEHQHODFLIUDWXUDGHLGDWLVHQVLELOLVLD
XQD PLVXUD GL VLFXUH]]D QDWXUDOH DWWXDOPHQWH QRQ HVLVWH XQR
VWDQGDUGSHURIIULUHWDOHIXQ]LRQDOLWj/RVFRSRGLTXHVWRVWXGLRq
G¶LQGDJDUH VXOO¶DIILGDELOLWj GL WDOL VWUXPHQWL H VXOO¶HIILFDFLD GHOOH
WHFQLFKH FULWWRJUDILFKH XWLOL]]DWH DO ILQH GL SHUPHWWHUQH XQD
FRUUHWWDDQDOLVLGHOULVFKLR
$OO¶LQWHUQR GHO FRQWHVWR RSHUDWLYR LQ FXL RSHUDQR L )LOHV\VWHP
FLIUDWL JOL VWHVVL VRQR FKLDPDWL DPHGLDUH WUD OH HVLJHQ]H GHJOL
XWHQWLH LOFDUDWWHUHSUREDELOLVWLFRGHOODGLVFLSOLQDGHOOD6LFXUH]]D
,QIRUPDWLFD 4XHVW¶XOWLPD IRUQLVFH JOL VWUXPHQWL H L SULQFLSL FRQ
FXL IRUQLUHVLFXUH]]D3ULPRIUDWXWWL LOSULQFLSLRGHOODSURWH]LRQH
DGHJXDWD SHUPHWWH GL SUHQGHUH LQ FRQVLGHUD]LRQH DQFKH
O¶LPSLHJR GL VLVWHPL GL SURWH]LRQH FKH VHSSXU YXOQHUDELOL
JDUDQWLVFRQR XQD IRUPD GL SHUVXDVLRQH DOO¶LQWUXVLRQH 1RQ GHYH
VRUSUHQGHUH TXLQGL OD SUHVHQ]D GL DOFXQH GHEROH]]H QHJOL
VWUXPHQWL GL SURWH]LRQH RJJHWWR GL TXHVWR VWXGLR JLXVWLILFDWD
DQFKH GDOOD FRQWUDSSRVL]LRQH WUD HVLJHQ]H GL SUHVWD]LRQL H
VLFXUH]]D/RVWUXPHQWRSULQFLSHFRQFXLVLUHDOL]]DODSURWH]LRQH
GHLGDWLq OD&ULWWRJUDILDVFLHQ]DULJRURVDFKHDEEUDFFLDGLYHUVH
DUHH GHOOD 0DWHPDWLFD H QH GHWWD L FULWHUL GL YDOXWD]LRQH
VWDELOHQGR FKH OD ILGXFLD LQ XQR VWUXPHQWR GL SURWH]LRQH SXz
HVVHUH DFTXLVLWD VROR GRSR XQ VXIILFLHQWH ODVVR GL WHPSR 7DOH
FULWHULR JLXVWLILFD LQ SDUWH O¶DSSDUHQWH DQWLGLQDPLVPR LQ
ULVSRVWD DOOH YXOQHUDELOLWj DGRWWDWR QHJOL DQQL GD TXHVWL
VWUXPHQWL
6HEEHQH L SULPL VRIWZDUH UHVL SXEEOLFL ULVDOJDQR DO
SHUPDQHHUHVLVWHDQFRUDRJJLQHOOH LPSOHPHQWD]LRQLXQDFHUWD
UHVLVWHQ]DDOODVWDQGDUGL]]D]LRQHQHLIDWWLYHGUHPRFKHODTXDVL
WRWDOLWjGHLVLVWHPLGLFLIUDWXUDGHL)LOHV\VWHPXWLOL]]DQRIRUPDWL
SHFXOLDUL LQFRPSDWLELOL H D YROWH SRFR GRFXPHQWDWL SHU OD
PHPRUL]]D]LRQHGHLGDWL7DOHDVSHWWRQHJDWLYRqHPHUVRILQGDO
SULPR DSSURFFLR DO SUREOHPD GHOLQHDQGR O¶HVLJHQ]D SULPDULD GL
XQ¶LQGLYLGXD]LRQHGHOOHFRPSRQHQWL WUXVWHGFRQFXLGHILQLUHXQD
PHWULFD GL YDOXWD]LRQH GD DSSOLFDUH GXUDQWH OD GLVDPLQD GHOOH
WHFQLFKH FULWWRJUDILFKH DGRWWDWH LQ DOFXQL FDVL VWXGLR GDL
ULVSHWWLYLSURJHWWLVWL
Introduzione
File-system cifrati: generalità e spunti progettuali 5
$OFXQHVSHFLILFKHWHFQLFKHSXEEOLFDWHGDHQWLGLVWDQGDUGL]]D]LRQH
LQWHUQD]LRQDOL FRVWLWXLVFRQR OH IRQWL SULPDULH XWLOL]]DWH SHU OD
GHILQL]LRQHGHOOHFRPSRQHQWLILGDWH,QSDUWLFRODUHOHSXEEOLFD]LRQL
>1,6@GHO1,67H>6,6@GHO6,6:*VRQRVWDWHXWLOL]]DWHSHU
GHILQLUH OH UHJROH UHODWLYH D FLIUDUL H PRGDOLWj GL FLIUDWXUD $O
JUXSSR GL ODYRUR6,6:* 6HFXULW\ ,Q 6WRUDJH:RUNLQJ*URXS
WDVNIRUFHGHOOD,(((VLGHYHODSURSRVWDGLGXHGLYHUVHWLSRORJLH
GL PRGDOLWj GL FLIUDWXUD SHQVDWH VSHFLILFDPHQWH SHU OD
SURWH]LRQH GHJOL VWRUDJH GHYLFH QDUURZ H ZLGH 8QD PRGDOLWj
QDUURZ WLSR /5: RSHUD VX XQ VLQJROR EORFFR DOOD YROWD GL
GLPHQVLRQL SDUL DOOD GLPHQVLRQH GHO FLIUDULR VRWWRVWDQWH
SUDWLFDPHQWHVLFRPSRUWDFRPHXQDPRGDOLWjWUDGL]LRQDOHULFHYH
LQ LQSXW XQ EORFFR GL SODLQWH[W H SURGXFH LQ RXWSXW XQ EORFFR
FLIUDWR GHOOH VWHVVH GLPHQVLRQL PD D SDULWj GL FRVWR
FRPSXWD]LRQDOH QRQ VRIIUH GL DOFXQH YXOQHUDELOLWj WLSLFKH GHOOH
PRGDOLWjWUDGL]LRQDOL,QYHFHXQDPRGDOLWjZLGHWLSR&0&R(0(
ULFKLHGHLQLQSXWXQEORFFRGLGLPHQVLRQHSDULDOODGLPHQVLRQHGL
XQ LQWHUR VHWWRUH H FRQWHPSRUDQHDPHQWH PXOWLSOR GHO EORFFR
XWLOL]]DWR GDO VRWWRVWDQWH FLIUDULR 7DOH EORFFR G¶LQSXW IRUPD
XQ¶XQLFD XQLWj HODERUDWLYD DOO¶LQWHUQR GHOOD TXDOH WUDPLWH LO
FLIUDULR EDVH OD PRGDOLWj VL RFFXSHUj GL GLIIRQGHUQH L GDWL
/¶HVLJHQ]D GL GHILQLUH GHOOH PRGDOLWj VSHFLILFKH SHU OD
SUREOHPDWLFD LQ VWXGLR QDVFH FRPH ULVSRVWD DOOD VHPSUH SL
HYLGHQWH LQDGHJXDWH]]D GHL PHWRGL GL FLIUDWXUD WUDGL]LRQDOL
DSSOLFDWL DO FRQWHVWR LQ VWXGLR 9HGUHPR FKH OD PRGDOLWj SL
XWLOL]]DWD &%& DFFRSSLDWD DO PHWRGR GL VHWXS GHO ,9 GL WLSR
SXEOLF ULVXOWD SRFR DGDWWD D JDUDQWLUH LQ DOFXQL DPELWL XQD
SURWH]LRQHDGHJXDWD
,Q EDVH DOOH VSHFLILFKH 3.&6 >5IF@ q VWDWR SRVVLELOH
GHILQLUH OH FDUDWWHULVWLFKH GHOOD GHULYDWHGIXQFWLRQ VWUXPHQWR
XWLOL]]DWRSHU OD WUDVIRUPD]LRQHGHOODSDVVZRUGXWHQWH LQ FKLDYH
FULWWRJUDILFDFKHSHUPHWWHGLFRQLXJDUHOHFRQWUDSSRVWHHVLJHQ]H
GL XWHQWL H SURJHWWLVWL /D VSHFLILFD QRQ VL OLPLWD D GHILQLUH OH
WHFQLFKHGDXWLOL]]DUHFRPHLOVDOWLQJH O¶LWHUD]LRQHPDQHGHWWD
DQFKH L SDUDPHWUL PLQLPL GD DGRWWDUH GLPHQVLRQH GHO VDOW GL
DOPHQRELW HDOPHQR LWHUD]LRQL GHOOD IXQ]LRQHKDVK ,Q
TXHVWR PRGR YLHQH FDUDWWHUL]]DWD XQD IXQ]LRQH 3%)'.
SDVVZRUG EDVHG NH\ GHULYH IXQFWLRQ LQ JUDGR GL UHQGHUH
HVWUHPDPHQWHLPSUREDELOLDWWDFFKLHVDXVWLYLEDVDWLVXGL]LRQDULR
3HU TXDQWR DWWLHQH DOOD GHILQL]LRQH GL XQD JHVWLRQH VLFXUD GHOOH
FKLDYL VL q IDWWR ULIHULPHQWR DOOD VSHFLILFD 76. >76.@ GL
&OHPHQV )UXKZLUWK FKH VHEEHQH QRQ HODERUDWD GD XQ HQWH GL
VWDQGDUGL]]D]LRQH FRPH QHL FDVL VRSUD SHU TXDOLWj GHOOD
GRFXPHQWD]LRQH H SHU FRPSHWHQ]D VL q ULWHQXWR RSSRUWXQR
DGRWWDUH ,QSDUWLFRODUHFRQTXHVWDVSHFLILFDYLHQHGHILQLWRXQR
VFKHPD GL JHVWLRQH GHOOH FKLDYL FULWWRJUD¿FKH VSHFLILFR SHU OD
FLIUDWXUD GHL GLVFKL VLFXUR GRFXPHQWDWR H UHVLVWHQWH DOO¶DQDOLVL
IRUHQVHEDVDWRVXWUHFRQFHWWLDGR]LRQHGLXQOLYHOORJHUDUFKLFR
Introduzione
File-system cifrati: generalità e spunti progettuali 6
GHULYDWHGIXQFWLRQGLWLSR3%.')HPHPRUL]]D]LRQHGHOOHFKLDYL
FRQWHFQLFKHDQWLIRUHQVLVWUHWFKLQJ,OSULPRFRQFHWWRSUHYHGH
WUDPLWH O¶DJJLXQWD GL XQR VWUDWR VSHFLILFR OD VHSDUD]LRQH WUD
FKLDYH GHULYDWD XWHQWH H FKLDYH XWLOL]]DWD SHU OD FLIUDWXUD
FRQVHQWHQGR XQ¶DJHYROH HG LPPHGLDWD PRGLILFD GHOOD SDVVZRUG
XWHQWHVHQ]DULFKLHGHUHODULFLIUDWXUDGHOVXSSRUWR/HWHFQLFKHGL
VWUHWFKLQJ UHODWLYHDOWHU]RSXQWRVLRFFXSDQRGLHVSDQGHUHVXO
VXSSRUWRGLPHPRUL]]D]LRQHLGDWLUHODWLYLDGXQDFKLDYHLQPRGR
GDFRQWUDVWDUHLQFDVRGLGDQQHJJLDPHQWRGHOVHWWRUHRVSLWDQWH
O¶HYHQWXDOH UHPDSSLQJ HIIHWWXDWR DXWRPDWLFDPHQWH GDO ILUPZDUH
GL XQ PRGHUQR GLVFR ULJLGR (VHPSL GL DSSOLFD]LRQH GL WDOL
WHFQLFKH VL WURYDQR LQ /8.6 GRYH OD $)VSOLWWHU $QWLIRUHQVLF
6SOLWHUSURYYHGHDGHVSDQGHUHLGDWLFRQXQIDWWRUHGL
/D VFHOWD GHL FDVL VWXGLR DQDOL]]DWL q VWDWD XQ SURFHVVR
SURJUHVVLYR GHWWDWR GDOOH HVLJHQ]H HYROXWLYH GHOOD GLVFLSOLQD /D
VHOH]LRQH q VWDWD HIIHWWXDWD LQ EDVH DOO¶LPSRUWDQ]D VWRULFD H
ULOHYDQ]D DWWXDOH GHOOH VROX]LRQL FRQ XQ EUHYH DFFHQQR QHOOD
SDUWH ILQDOH DQFKH DL )LOHV\VWHP VWHJDQRJUDILFL 7UDWWDQGRVL GL
VLFXUH]]D OD VFHOWDGHOOH VROX]LRQLRSHQVRXUFH q VWDWRXQ SDVVR
REEOLJDWR ,O IDWWR FKH LO FRGLFH VRUJHQWH QRQ VLD OLEHUDPHQWH
GLVSRQLELOH SXz FRVWLWXLUH SRWHQ]LDOPHQWH XQD PLQDFFLD SHU OD
VLFXUH]]D 7XWWDYLD QRQ PDQFDQR GHL ULIHULPHQWL GRYH OD
GRFXPHQWD]LRQH D FRUUHGR OR SHUPHWWD DOOH VROX]LRQL FORVHG
VRXUFHRULJLQDOL/¶LQWHQWRILQDOHVDUjTXHOORGLIRUQLUHXQDFKLDYH
GL OHWWXUD RPRJHQHD DOO¶LQWHUQR GL XQ DPELWR DOTXDQWR
³YDULRSLQWR´HUHVWLRDOODVWDQGDUGL]]D]LRQH
'XH VRQR OH PDFURFDWHJRULH HQWUR FXL VRQR VWDWH VXGGLYLVH OH
VROX]LRQL DQDOL]]DWH VXOOD EDVH GHO OLYHOOR VX FXL VL DSSOLFD OD
&ULWWRJUDILD
)LOHV\VWHPFLIUDWL LPSLODWL VXXQ)LOHV\VWHPHVLVWHQWHVL WUDWWD
GL VROX]LRQL SDVVWKURXJKW FKH VL SRQJRQR DO GL VRSUD GHO )LOH
V\VWHP HVLVWHQWH H FRQVHQWRQR GL DWWLYDUH XQD SURWH]LRQH
VHOHWWLYD H IOHVVLELOH VXOOH VLQJROH GLUHFWRU\ SHUPHWWHQGR OD
FRHVLVWHQ]D DOO¶LQWHUQR GHOOR VWHVVR )LOHV\VWHP GL FDUWHOOH
SURWHWWH H QRQ ,O SULQFLSDOH SUREOHPD GL TXHVWD WLSRORJLD q
FRVWLWXLWR GDOOD SUHVHQ]D G¶LQIRUPD]LRQL VHFXULW\VHQVLWLYH LQ
VHWWRUL QRQ SURWHWWL FRPH QHOO¶DUHD GL VZDS QHOOH FDFKH
GLUHFWRU\WHPSRUDQHHHVSRROGLVWDPSD(VHPSLGLWDOHWLSRORJLD
VRQR GDWL GD &)6 7&)6 (QF)V HG H&U\SW)V LQ /LQX[ ()6 LQ
0LFURVRIW
)LOHV\VWHPFLIUDWLRSHUDQWLDOEORFNOHYHOTXHVWLVLVWHPLLPSOHPHQWD
QR OD FLIUDWXUD DO GL VRWWR GHO )LOHV\VWHP HVLVWHQWH
DSSRJJLDQGRVL DL GLVSRVLWLYL YLUWXDOL GL ORRSEDFN R DOWUH
DVWUD]LRQLH ULPDQHQGRFRPSOHWDPHQWHVFRQRVFLXWLDJOL VWUDWLGL
SL DOWR OLYHOOR VRQR LQ JUDGR GL FLIUDUH O¶LQWHUR KDUGGLVN R
SDUWL]LRQH RIIUHQGR FRVu XQD SURWH]LRQH WRWDOH /¶LQWHUR YROXPH
YLHQHSURWHWWRWUDPLWHXQDPDVWHUNH\HO¶DFFHVVRDLGDWLDYYLHQH
Introduzione
File-system cifrati: generalità e spunti progettuali 7
SHU VHWWRUL 8Q VHWWRUH q XQ¶XQLWj ORJLFD WLSLFDPHQWH GL R
E\WHVLQGLSHQGHQWHQHOTXDOHSHUOHRSHUD]LRQLGLFLIUDWXUD
H GHFLIUDWXUD FRQFRUURQR VRODPHQWH LO SODLQWH[W O¶RIIVHW GHO
VHWWRUH H ODPDVWHUNH\ (VHPSL GL WDOH WLSRORJLD VRQR GDWL GD
&U\SWORRS /RRS$(6 'PFU\SW LQ /LQX[ H 7UXHFU\SW O¶XQLFR
PXOWLSLDWWDIRUPD
,O SULQFLSDOH YDQWDJJLR GHOO¶DSSURFFLR EORFNOHYHO q GDWR GDOO¶
LPSRVVLELOLWj SHU O¶DWWDFFDQWH GL RWWHQHUH LQIRUPD]LRQL GL DOFXQ
WLSR WLSRORJLD GL )LOHV\VWHP R VWUXWWXUD GHOOH GLUHFWRU\ 7UH
VRQR LQYHFH JOL VYDQWDJJL WXWWL ULFRQGXFLELOL DOOD PDQFDQ]D
G¶LQWHJUD]LRQH FRQ LO )LOHV\VWHP VRYUDVWDQWH /D UHJLRQH
GHVWLQDWD D FRQWHQHUH L ILOH FLIUDWL GHYH HVVHUH SUHDOORFDWD LQ
DQWLFLSR LQROWUH QRQ q GDWD QHVVXQD SRVVLELOLWj GL GLIIHUHQ]LDUH
FKLDYL H FLIUDUL DOO¶LQWHUQR GHOOD SDUWL]LRQH LQILQH DOFXQH
DSSOLFD]LRQL WLSR LEDFNXS LQFUHPHQWDOL QHFHVVLWDQRGL RWWHQHUH
O¶DFFHVVRDLGDWLLQFKLDURHLQFDVRGLWUDVIHULPHQWRWUDPLWHDOWUL
PHGLDRFFRUUHULFLIUDUHLGDWL
/HVROX]LRQLSDVVWKURXJKWLQYHFHRSHUDQRDGXQSLDOWROLYHOOR
QHOOR XVHUVSDFH H SRQHQGRVL VRSUD LO )LOHV\VWHP UHVLGHQWH
RIIURQR XQ PLJOLRU FRQWUROOR GHOOD JUDQXODULWj SHUPHWWHQGR OD
VHOH]LRQH GL ILOH H FDUWHOOH VX FXL DSSOLFDUH OD FLIUDWXUD 4XHVWH
VROX]LRQL ULVSHWWR DOOH SUHFHGHQWLEORFNOHYHO RIIURQR VHPSOLFLWj
QHO GHVLJQ QHOO¶LPSOHPHQWD]LRQH H QHOOD JHVWLRQH GLQDPLFD GHL
EDFNXSPDDOFRVWRGLXQDSSHVDQWLPHQWRGHOOHSUHVWD]LRQL
,QUHDOWjOHGXHPDFURFDWHJRULHQRQVRQRPXWXDPHQWHHVFOXVLYH
DQ]L SRLFKp RSHUDQWL VX OLYHOOL GLYHUVL O¶LQWHJUD]LRQH GHL GXH
DSSURFFL UDSSUHVHQWD TXDORUD OH HVLJHQ]H VL SURWH]LRQH
GRYHVVHUR ULFKLHGHUOR XQ EXRQ ³PRGXV RSHUDQGL´ LQ JUDGR GL
FRQLXJDUHODVLFXUH]]DIRUQLWDGDHQWUDPELLPHFFDQLVPLRIIUHQGR
VLD OD IOHVVLELOLWj GL XQ DFFHVVR DJHYROH DL VLQJROL ILOH FKH XQD
FLIUDWXUD D EDVVR OLYHOOR 2YYLDPHQWH YD YDOXWDWR
O¶DSSHVDQWLPHQWRGHOOHSHUIRUPDQFHGHOVLVWHPD
$OOH YXOQHUDELOLWj q GHGLFDWR LO &DSLWROR WHU]R ,O SULPR DWWDFFR
GHVFULWWR q LO ZDWHUPDUNLQJ DWWDFN FKH VIUXWWD OH GHEROH]]H
GRYXWH DOO¶DFFRSSLDWD &%& H SXEOLF,9 VHWXS FRPXQHPHQWH
DGRWWDWRQHOOHLPSOHPHQWD]LRQLSHUPHWWHQGRDGXQDWWDFFDQWHGL
PDQLSRODUH L GDWL GHO SODLQWH[W LQ PRGR GD DSSOLFDUH DL GDWL
RULJLQDOL XQ ZDWHUPDUN XQ VLJLOOR GLJLWDOH GL ULFRQRVFLPHQWR
XWLOL]]DWRSHU FUHDUHDUWLILFLDOPHQWHGHOOH FROOLVLRQL DOO¶LQWHUQRGHO
FULWWRWHVWR LQ SRVL]LRQL VSHFLILFKH 'L FRQVHJXHQ]D LO ILOH
FRQWUDVVHJQDWR VDUj ULQWUDFFLDELOH DOO¶LQWHUQR GHO YROXPH FLIUDWR
VHQ]DGRYHUFRQRVFHUQHODFKLDYH&RQTXHVWRDWWDFFRqSRVVLELOH
SURYDUHO¶HVLVWHQ]DGLGDWLVSHFLILFLDOO¶LQWHUQRGHOYROXPHFLIUDWR
,O VHFRQGR DWWDFFR GHVFULWWR q O¶DWWDFFR HVDXVWLYR EDVDWR VXO
GL]LRQDULR FKH VIUXWWD OH FDUHQ]H GL XQD PDO SURJHWWDWD
GHULYDWHGIXQFWLRQ GLPRVWUDQGR FKH LO ULVSHWWR GHOOH VSHFLILFKH
WHFQLFKH q LQ TXHVWR FDPSR IRQGDPHQWDOH /¶XOWLPR DWWDFFR
Introduzione
File-system cifrati: generalità e spunti progettuali 8
GHVFULWWR q LO UHFHQWH FRROERRW DWWDFN FRQ FXL VIUXWWDQGR XQD
SURSULHWj ILVLFD GHL FKLS GLPHPRULD FHQWUDOH DOFXQL ULFHUFDWRUL
DGRSHUDQGRSRFKLPH]]LVRQRULXVFLWLDOHJJHUHLOFRQWHQXWRGHOOD
'5$0 GL XQ 3& IRUQLWR GL GLVSRVLWLYL FLIUDWL GRSR LO VXR
LPPHGLDWR VSHJQLPHQWR 8QD YROWD HIIHWWXDWR LO GXPS GHOOD
PHPRULD q VWDWR SRVVLELOH UHFXSHUDUH OD FKLDYH GHO VLVWHPD GL
FLIUDWXUDHGLFRQVHJXHQ]DDFFHGHUHDLGDWLSUHVHQWLVXOGLVFR
/¶HVLVWHQ]D GL WDOL GHEROH]]H QRQ GHYH VRUSUHQGHUH WHQLDPR
VHPSUH D PHQWH FKH OD VLFXUH]]D SHUIHWWD q LUUDJJLXQJLELOH
SHUWDQWR OD VFHOWD GL TXDOVLDVL VWUXPHQWR YD IDWWD LQ EDVH DOOH
HIIHWWLYHHVLJHQ]HGLSURWH]LRQH
,O TXDUWR HG XOWLPR &DSLWROR q GHGLFDWR DOOD GHVFUL]LRQH GHOOD
SDUWH SURJHWWXDOH GL TXHVWD WHVL 1HOOR VSHFLILFR GRSR DYHU
DQDOL]]DWROHLPSOHPHQWD]LRQLJLjHVLVWHQWLFLVLqYROXWLPLVXUDUH
FRQ O¶LPSOHPHQWD]LRQH GL XQD PRGHUQD PRGDOLWj GL WLSR ZLGH
VSHFLILFDWDPHQWHSURJHWWDWDSHUODFLIUDWXUDGHLGLVFKLULJLGL6Lq
VFHOWR G¶LPSOHPHQWDUH LQ DFFRUGR FRQ OH SROLWLFKH GL IXWXUH
GHYHORSHPHQW GHO SURGRWWR OD PRGDOLWj (0( LQ (QF)V /D
PRGDOLWj (0( q VWDWD SUHIHULWD D &0& SRLFKp SDUDOOHOL]]DELOH H
TXLQGL LQ JUDGR GL VIUXWWDUH OH PRGHUQH DUFKLWHWWXUH
PXOWLSURFHVVRUH /¶LQWHJUD]LRQH KD IDWWR FXUD GL SUHVHUYDUH OH
IXQ]LRQDOLWj HVLVWHQWL OLPLWDQGRVL DG DJJLXQJHUQH GHOOH QXRYH
1HOFRQIURQWRILQDOHWUDOHPRGDOLWjQDWLYHSUHVHQWL LQ(QF)VHOD
PRGDOLWj (0( LPSOHPHQWDWD VL q HYLGHQ]LDWR XQ SRWHQ]LDOH
YDQWDJJLR FRPSHWLWLYR D IDYRUH GL TXHVW¶XOWLPD QRQRVWDQWH
HIIHWWXLXQQXPHURSLFKHGRSSLRGLFKLDPDWHDOFLIUDULRGLEDVH
QFRQWURQFKHQHJLXVWLILFDHYHQWXDOLVYLOXSSLIXWXUL
Il Contesto
File-system cifrati: generalità e spunti progettuali 9
&DSLWROR
,OFRQWHVWR
, )LOHV\VWHP FLIUDWL VRQR LQ JUDGR GL IRUQLUH XQD SURWH]LRQH
SDVVLYD DL VXSSRUWL GL GDWD VWRUDJH QHO FDVR JOL VWHVVL VLDQR
VRWWUDWWLRSHUGXWL2OWUHFKHULVSRQGHUHDOOHQDWXUDOLHVLJHQ]HGL
SURWH]LRQH DYDQ]DWH GD SDUWH GHJOL XWHQWL FRQVXPHU HVLVWRQR
GHOOH VSHFLILFKH HVLJHQ]H GL QDWXUD HFRQRPLFRD]LHQGDOH OHJDWH
DOODQHFHVVLWjGLSURWHJJHUH LOSDWULPRQLRGDWLGLXQ¶LPSUHVD/H
FURQDFKH VHPSUH SL IUHTXHQWHPHQWH ULSRUWDQR FDVL GL
VRWWUD]LRQHG¶LQIRUPD]LRQLD]LHQGDOLYLWDOLGRYXWHDSHUGLWDRIXUWR
GL SRUWDWLOL GRYH LO GDQQR VXELWR q GL JUDQ OXQJDPDJJLRUH GHO
YDORUH GHO EHQH VRWWUDWWR 4XL OD SURWH]LRQH GHO )LOHV\VWHP VL
DJJLXQJH DOOH DOWUH PLVXUH GL SURWH]LRQH QHO SURFHVVR GL
LUUREXVWLPHQWRGHOOHGLIHVH0DVRSUDWWXWWRODSURWH]LRQHGHLGDWL
GHYH ULVSRQGHUH D GHJOL VSHFLILFL REEOLJKL GL QDWXUD OHJDOH /R
VFRSR GL TXHVWR &DSLWROR q GL GHILQLUH LO FRQWHVWR HQWUR FXL q
FKLDPDWDDGRSHUDUHODGLVFLSOLQDGHOOD6LFXUH]]D,QIRUPDWLFD
,OFRQWHVWROHJLVODWLYR
,O 'HFUHWR OHJJH Q KD GHILQLWR H UHJRODPHQWDWR OH
PLVXUH PLQLPH GL VLFXUH]]D DWWH D SUHVHUYDUH OH LQIRUPD]LRQL
SRVVHGXWH VX WHU]L LQ SDUWLFRODUH JOL DUWLFROL H FKH FRVu
UHFLWDQR
$UW2EEOLJKLGLVLFXUH]]D,GDWLSHUVRQDOLRJJHWWRGLWUDWWDPHQWRVRQR
FXVWRGLWLHFRQWUROODWLDQFKHLQUHOD]LRQHDOOHFRQRVFHQ]HDFTXLVLWHLQEDVHDO
SURJUHVVR WHFQLFR DOOD QDWXUD GHL GDWL H DOOH VSHFLILFKH FDUDWWHULVWLFKH GHO
WUDWWDPHQWRLQPRGRGDULGXUUHDOPLQLPRPHGLDQWHO¶DGR]LRQHGLLGRQHHH
SUHYHQWLYH PLVXUH GL VLFXUH]]D L ULVFKL GL GLVWUX]LRQH R SHUGLWD DQFKH
DFFLGHQWDOHGHLGDWLVWHVVLGLDFFHVVRQRQDXWRUL]]DWRRGLWUDWWDPHQWRQRQ
FRQVHQWLWRRQRQFRQIRUPHDOOHILQDOLWjGHOODUDFFROWD
$UW 7UDWWDPHQWL FRQ VWUXPHQWL HOHWWURQLFL ,O WUDWWDPHQWR GL GDWL
SHUVRQDOL HIIHWWXDWR FRQ VWUXPHQWL HOHWWURQLFL q FRQVHQWLWR VROR VH VRQR
DGRWWDWH QHL PRGL SUHYLVWL GDO GLVFLSOLQDUH WHFQLFR FRQWHQXWR QHOO¶DOOHJDWR
>%@ OHVHJXHQWLPLVXUHPLQLPHDDXWHQWLFD]LRQHLQIRUPDWLFDEDGR]LRQH
GLSURFHGXUHGLJHVWLRQHGHOOH FUHGHQ]LDOLGLDXWHQWLFD]LRQHFXWLOL]]D]LRQH