Marat Fairuzov
B629, Project 4
A distributed filesystem synchronizer using Java RMI

Back to the Table of contents




Part 3: File synchronizer security

1. Security problems in the original version:

  1. Anybody who knows the machine where the server is running, the port number, and the interface that it uses, can connect to the server, get the  FileSystem,  and hence gain the access to the files;
  2. Somebody who knows that I'm about to run the synchronizer, can start a fake server, which would give my synchronizer a fake  FileSystem  object, and cause the program to synchronize my files with that file system, which can result in destruction of my files, and/or their disclosure.

2. A more secure design:

3. Implementation (and possible variations):


Back to the Table of contents

Last modified: Fri Oct 31 12:46:14 EST