SLIDE 1
Web Interface for Secure Decentralized Collaboration Platform Rehan - - PowerPoint PPT Presentation
Web Interface for Secure Decentralized Collaboration Platform Rehan - - PowerPoint PPT Presentation
Web Interface for Secure Decentralized Collaboration Platform Rehan Mulakhel EPFL 2017-06-21 Outline Introduction Architecture The tools used Issues Rights File System Future Work (http://shareaza.sourceforge.net/mediawiki/index.php/P2P
SLIDE 2
SLIDE 3
(http://shareaza.sourceforge.net/mediawiki/index.php/P2P network/fr)
SLIDE 4
SLIDE 5
Architecture
Management
Network
Alice Bob
Front-end ABTU Database
SLIDE 6
The tools used
◮ Browser ◮ jQuery ◮ Bootstrap ◮ Ace (text editor)
SLIDE 7
The tools used
◮ Browser ◮ jQuery ◮ Bootstrap ◮ Ace (text editor) ◮ CouchDB
SLIDE 8
The tools used
◮ Browser ◮ jQuery ◮ Bootstrap ◮ Ace (text editor) ◮ CouchDB ◮ FirePad (not yet, wysiwyg1)
1What-You-See-Is-What-You-Get
SLIDE 9
Local Operation execute the operation notify the management notify the ABTU waitForLocalOpAck++ IDLE Waiting event Ack Local Op waitForLocalOpAck-- Remote Operation if waitForLocalOpAck > notify nack else execute operation notify ack endif Pending Undo pendingUndo = true Execute Pending Undo apply change(s) pendingUndo = false pendingUndo = true
SLIDE 10
Issue
# Alice Bob 1 press ’a’ 2 insertion triggers event 3 sends the information 4 receives the information 5 insertion of ’a’ 6 the insertion triggers event 7 sends the information 8 receives the information 9 ...
SLIDE 11
Issue
# Alice Bob 1 press ’a’ 2 insertion triggers event 3 sends the information 4 receives the information 5 insertion of ’a’ 6 the insertion triggers event 7 sends the information 8 receives the information 9 ...
Solution
Use a flag
SLIDE 12
Consistency issues
◮ What if someone changes the rights of someone? ◮ Who has the right name of a file?
SLIDE 13
Permissions
◮ Read only (RO) ◮ Read Write (RW) ◮ Read Write Add (AD)
SLIDE 14
Permissions
◮ Read only (RO) ◮ Read Write (RW) ◮ Read Write Add (AD)
SLIDE 15
Permissions
◮ Read only (RO) ◮ Read Write (RW) ◮ Read Write Add (AD)
SLIDE 16
Permissions
◮ Read only (RO) ◮ Read Write (RW) ◮ Read Write Add (AD)
SLIDE 17
File Browser
◮ Documents must be stored somehow ◮ Easy navigation into the files ◮ Must be able to group the files
SLIDE 18
(A) (B)
SLIDE 19
(C)
SLIDE 20
SLIDE 21