#995 new defect

It's way too easy to give away write directory caps — at Initial Version

Reported by: jsgf Owned by: nobody
Priority: major Milestone: undecided
Component: code-frontend-web Version: 1.6.0
Keywords: wui jsui usability confidentiality capleak websec Cc:
Launchpad Bug:

Description

The WUI makes it too easy to accidentally give away the write directory caps for a directory. The most obvious thing to do - cut'n'paste the URL - is the worst thing to do. If you want to give a RO directory cap to someone else, you need to make a fairly explicit extra step to do so.

I don't know how to address this, but here are some thoughts:

  1. Add an obvious "share this directory" button which pops up a pre-selected cuttable RO URL, in order to try and make the right thing the most simple and obvious.
  1. Use cookies to maintain some per-session state, and use that state to mangle the cap in the URL, to prevent it from being accepted by any other web gateway/WUI session. Unfortunately without some strong crypto in the browser this will not prevent the URL from being accidentally shared unless the user notices it has been mangled before sending it.
  1. Erm, something else?

Change History (0)

Note: See TracTickets for help on using tickets.