Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Lec25 Security

Lec25 Security

Ratings: (0)|Views: 3|Likes:
Published by minhhai2209

More info:

Published by: minhhai2209 on Aug 27, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/27/2010

pdf

text

original

 
CS162Operating Systems andSystems ProgrammingLecture 25Protection and Securityin Distributed Systems
November 28, 2007Prof. John Kubiatowiczhttp://inst.eecs.berkeley.edu/~cs162
Lec25.211/28/07Kubiatowicz CS162 ©UCB Fall 2007
Server
cache
F1:V1
 
F1:V2
Review: Use of caching to reduce network load
Read (RPC)Return (Data)
 W r i t e  (  R P C )  A C K
Client
cache
Client
cache
Idea: Use caching to reduce network load
In practice: use buffer cache at source and destination
Advantage: if open/read/write/close can be donelocally, don’t need to do any network traffic…fast!
Problems:
Failure:
»
Client caches have data not committed at server
Cache consistency!
»
Client caches not consistent with server/each other
F1:V1F1:V2
read(f1)write(f1)
V1read(f1)
V1read(f1)
V1
OKread(f1)
V1read(f1)
V2
Lec25.311/28/07Kubiatowicz CS162 ©UCB Fall 2007
Goals for Today
Finish discussing distributed file systems/Caching
Security Mechanisms
Authentication
Authorization
Enforcement
Cryptographic Mechanisms
Note: Some slides and/or pictures in the following areadapted from slides ©2005 Silberschatz, Galvin, and GagneNote: Some slides and/or pictures in the following areadapted from slides ©2005 Silberschatz, Galvin, and Gagne.Many slides generated from my lecture notes by Kubiatowicz.
Lec25.411/28/07Kubiatowicz CS162 ©UCB Fall 2007
Network File System (NFS)
Three Layers for NFS system
UNIX file-system interface:open, read, write, closecalls + file descriptors
VFS layer:distinguishes local from remote files
»
Calls the NFS protocol procedures for remote requests
NFS service layer:bottom layer of the architecture
»
Implements the NFS protocol
NFS Protocol: RPC for file operations on server
Reading/searching a directory
manipulating links and directories
accessing file attributes/reading and writing files
Write-through caching:Modified data committed toserver’s disk before results are returned to the client
lose some of the advantages of caching
time to perform write() can be long
Need some mechanism for readers to eventually noticechanges! (more on this later)

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->