Borrow This Firefox

Have you sat down at a copy of Firefox, perhaps in an Internet cafe or on a friend’s machine, and wished it had all your customizations, bookmarks, passwords, history etc.?

Wouldn’t it be cool if there was a Firefox menu item (built in, so it appeared on every Firefox) called “Borrow This Firefox”?

What it would do would be as follows:

  • Starts a new Private Browsing session (for isolation from the current config, and to avoid writing stuff to disk)
  • Opens up a Firefox Sync login UI, which you fill in with e.g. the “9 characters” data from your mobile Firefox on your phone, or just a username and password
  • Logs into Firefox Sync
  • Brands the window as “Firefox, borrowed by <name>”
  • Downloads your stuff from Firefox Sync in a sensible order (App Tabs -> Passwords -> Bookmarks -> History)
  • Lets you use the Firefox as if it were your own
  • Syncs things back to the cloud as you go along
  • Deletes all data from the machine when you close the branded window

In other words, a combination of Weave and Private Browsing lets people take their Firefox experience anywhere, even computers they don’t control or own.

Being Open vs. Enabling Useful Participation

At the last Mozilla Foundation get together, we had a session thinking about “How to work open”. (Matt Thompson led the session, and has already done his writeup.)

One important distinction that appeared during the discussion was between ‘Being Open’ and ‘Enabling Useful Participation’. If you think in terms of ‘Being Open’, you end up throwing all sorts of half-finished things out into the community and saying “what do you think?”, which normally results in minor feedback or bikeshedding, and a sense of disempowerment in the community when their feedback is ignored because it wasn’t really what you were looking for.

If you instead think about each question through the filter of how you can Enable Useful Participation in your project, you end up not just with much more useful answers, but with much better questions as well. Ask: how can someone else make a useful contribution to what you are doing, and what tools and information do you need to give them in order for them to do that?

‘Being Open’ thinks “we need to publish this half-finished draft of a press release right away, because if we don’t, then we aren’t being open enough.” ‘Enabling Useful Participation’ thinks “Hmm. If people are going to give me useful feedback on this, they need to know what I’m trying to achieve. Let me write up my goals, plus a short list of the bits I’m not sure about yet to direct people’s attention, and then publish.”

‘Being Open’ thinks “stick it in the code repo; now we’re open”. ‘Enabling Useful Participation’ thinks “Can people actually install it? Do I need to write instructions for that? What’s the roadmap? Do people know how to contact me to ask what to work on?”

‘Being Open’ thinks “as long as we publish the results of all our decisions, we are open”. ‘Enabling Useful Participation’ thinks “how can we bring other people into the decision-making circle?”

So, ask yourself today: how can someone who currently knows nothing about my project make a useful contribution, and what tools and information do I need to give them in order for them to do that?

Domesday: Promoting Privacy, Transparency and Accountability

The Mozilla Manifesto is in favour both of individual privacy (bullet 4; ‘security’ is intended to include privacy) and transparent community-based processes (bullet 8). One of my goals for Domesday, and therefore the Mozilla Phonebook, is to promote both better user privacy and transparency in the processes for the community that each Domesday installation is tracking.

Privacy

Domesday’s privacy features are intended to be simple, understandable and powerful. Users should have full control of what data can be seen by whom, in a way so easy and natural to configure that the defaults are almost irrelevant.

So, in Domesday, a user can configure the privacy of their data on a per-field level. Privacy is a first-class organizational principle in the UI:

domesday-privacy-example.png

You can drag and drop fields from one privacy level to another to change their privacy – or try out one of the suggested sets of settings by moving the slider.

This is in contrast to systems like Facebook, which only allow you to set the privacy level of types of data, and also make the settings hard and obscure to change. Their business model is antithetical to privacy – the less you have, the more money they can make. There’s nothing wrong with making money, but communicating with your friends should not require you to sacrifice either your privacy or theirs.

Transparency and Accountability

Each user in Domesday has a set of tags associated with them. Some tags are special and cannot be self-awarded, but must be awarded by a user who has another tag, called the “blesstag”, for that tag. (A tag can be its own blesstag.) This feature allows Domesday data to be used to create flexible systems of access control for resources – including to data within Domesday itself. Whether someone has access to data in Domesday which has particular privacy level is based on whether they have the particular tag associated with that level.

Crucially, for all users, the ‘tags’ field is always public. This means that any user of the system can see who has access to what data (inside Domesday or elsewhere), even if they can’t see the data itself. If you want to see who has access to “Mozillians” data, just ask the system for a list of everyone who has the tag “mozillian”. That’s important for transparency and accountability across the project.

So if, for example, we ever decided to manage the security group using Domesday, everyone would be able to see who is in it. dveditz would not have to manually maintain the list of members, because the system would do it for him. It is right that everyone in Mozilla can see who we are trusting with access to security bugs, even if they can’t see the bugs themselves. Domesday enables accountability patterns like that.

Transparency and accountability also suggest it is very important to clearly define the privacy levels within Domesday, their purpose, and how you get them. If there was a level called “admin”, with no description, how could you tell whether a particular person actually needed that capability? But if there was a level called “contributor-community-team”, which was described as “people who organize Summits and ship t-shirts”, because the purpose of the level is clear, people can look down the list and raise an issue if they think someone is on it who shouldn’t be.

So both within Domesday and outside it, the system promotes transparent community-based processes, and thereby accountability and trust.

BMO Upgraded to 4.0

As many of you will have noticed, bugzilla.mozilla.org has been upgraded to Bugzilla 4.0. This upgrade brings many new features, but also a number of extensions implementing long-desired capabilities:

  • Splinter – Review Board-style code review
  • Component Watching
  • SecureMail – encrypted bugmail for security bugs

One caveat: don’t go converting all of your generic-QA-contact-watching to Component Watching just yet, because it doesn’t respect email preferences yet and so you will be deluged with “CC” mail.

We plan to roll out SecureMail group by group, starting with a small group (my suggestion is to begin with the Bugzilla software security group). However, following a suggestion from justdave, once my patch is checked in anyone will be able to protect their password reset mail just by adding a private key to their SecureMail preferences.

Please continue to file bugs on any issues you find – here’s the tracking bug.

Fixing the Password Problem

How can we improve the user’s experience with, and the security of, passwords? I’m fairly sure a team at Mozilla are thinking about this; my thoughts here are utterly unencumbered by knowledge of or interaction with their ideas ;-)

Frank Stajano at the Cambridge Computing Laboratory has written a paper (blogpost) called “Pico: No more passwords!”, where he proposed a hardware token-based scheme for replacing passwords as our default form of authentication. In its final form, it uses a camera to detect the app, and then a short-range radio interface to send the password to the computer. The purpose of this blog post is not to comment on his specific proposal, but to note his list of 8 advantages that his system provides (taken from his document, and edited by me):

  1. The user no longer has to remember passwords.
  2. The user cannot choose a weak password.
  3. The user cannot reuse a password.
  4. The user no longer has to type the password.
  5. The user cannot be phished.
  6. The system can be used for all sorts of passwords or secrets, not just web ones.
  7. The user no longer has to manually select the appropriate password.
  8. The user is authenticated to the app continuously throughout the session.

These are all clearly good things, which make life much easier for a user. He notes that some of these advantages are provided by existing solutions, but not all. That set me wondering: what would it take to get most or all of them in a Firefox context?

The Firefox Password Manager in combination with Firefox Sync gives you 1, 4, 5 and 7 today, out of the box, for every password you use it for. (One could argue you don’t quite get 5 because nothing stops you from typing in a remembered password into a phishing site, but if you rely on the Manager, you get it.)

We could add 2 and 3, and reinforce 5, by adding a “Generate Password” context menu item to Firefox password fields. This would only appear if Firefox knew it was allowed to remember the password (i.e. not “autocomplete=off”) and when selected would fill all password fields in the same <form> with a single randomly-generated password. It could use the HTML5 regexps for field contents, if present, to make sure it generated a password the site would accept. If the feature was used on a page, and the password submitted was the same as the one generated, Firefox would automatically remember the login and password without prompting (but perhaps with a notification, for reassurance).

The generated passwords would be, say, 10 characters long, and a mix of upper and lower case, numerals and a punctuation character. If the site was dumb enough not to accept such strong passwords, once they got the error back the user could give up on the feature and pick a password themselves, just as they do now.

There’s also a way we could add benefit 6. It strikes me that the contents of the Password Manager section of my Weave account, and the contents of OI Safe, the Android password manager I use, are highly related. We could implement a Firefox Mobile addon or even a standalone app (like a specialized Firefox Home) which showed the Weave password store like a password app does, and also allowed you to add extra non-web usernames and passwords to it manually – e.g. the combination to a bike lock, or a door entry code. You would use the same app to retrieve them when you needed them. A standalone app might have the convenience factor required; but if we can make websites into mobile apps, with top level icons, perhaps we can also add a feature to make a Firefox addon’s UI do the same thing.

That leaves us with everything except benefit 8 – walking away from your computer doesn’t automatically log you out of the web app. This seems not all that connected to the other 7 password-related benefits; more a cool thing which happens to fall out of Frank’s implementation. Still, there are some options.

We would have to consider the privacy implications, but both websites like this and web-based IM clients might benefit from an “idle” value in the DOM, giving the time in seconds or minutes since the user last interacted with the computer. As long as the value was low, sites could assume the user was still present, and not log them out. If it got above a value the site considered unsafe, automatic log out could occur.

This would avoid the very irritating thing of sites logging you out for “inactivity” when you were sitting at your computer the whole time, just doing other things. My previous bank (Barclays) did this a lot; my current one (HSBC) at least pops up a window with a timer asking me if I want to stay logged on. Better, but also a hack.

To summarise, I propose:

  • Add “Generate Password” to Firefox password field context menu
  • Make a OI Safe-like Android app using the Weave store as its back end
  • Standardising a DOM property for “computer idle time”

Community Phonebook: Register Your Interest

The Mozilla Community Phonebook (planned to be an installation of the Domesday software) will allow community members to create a simple profile about themselves. Mozilla is now large enough that we feel that creating a tool to help people learn more about others in the community will make the community feel smaller and more knowable.

You can now sign up to be notified when the ability to create phonebook profiles goes live.

You can read more about the plans for this site on the Mozillians page on the wiki. There are wireframes, code documents, schedules and more.

State of the Browser Q & A

Paul Rouget and I represented Mozilla on the Q & A panel at “State of the Browser” in London last Saturday, along with representatives of Chrome, Opera and RIM (Blackberry browser). (The Microsoft guy was unable to attend at the last minute for entirely legitimate personal reasons.) The session is about 50 mins long.

Panel Q&A Discussion (State of the Browser) from London Web Standards on Vimeo.

You can watch it in higher definition if you click through. Sadly and ironically, it’s not using open video – Vimeo doesn’t support WebM or Theora, although they have an h.264-based HTML5 player in beta. And it’s a bit large to host myself.

If you hear me saying anything factually incorrect, let me know and I’ll try and get a corrective comment added to the Vimeo page.

Protecting Germans: Translated Subscription Trap Interview

With many thanks to “sometwothings@gmail.com”, who did the original translation (which I have cleaned up a little), here – now with English subtitles – is the subscription trap investigation from German TV, in which our lawyer Anthonia Zimmermann is interviewed. It’s about 14 minutes long, and well worth watching.

Pull down the Universal Subtitles dropdown, and select “English”.

Committer’s Agreement – Minor Update

We just made a small tweak to the Committer’s Agreement that everyone with privileges to check in directly to the Mozilla source code trees has to sign. The change is to the section titled “Committing Code Created by Others“, and it is:

You may check in Code to a Mozilla Foundation repository that was not written by You, provided that:

a) The checkin comment contains information (or references to information) sufficient to identify the author and the license of the Code, including at minimum an email address; and and a link to a public source repository if one is available; and
b) You make all reasonable and appropriate efforts to ensure that such Code conforms to the terms of this agreement.

It isn’t necessary or a good use of time to get everyone to re-sign it :-), but please can existing committers be aware of the need to document license and source when checking in code from external sources. It’s important that we know where our code comes from, and who to contact if there’s a problem.

Credits List

This morning I made 70 individual checkins, which added about 300 additional names to the Mozilla Credits list – which (AFAIK) is accessible as about:credits in every desktop browser ever shipped by Mozilla – and will be so in the upcoming Firefox 4. There was a flood of applications because someone emailed all Mozilla Corporation employees suggesting that if they were not already included, they send a message requesting inclusion.

This is the public counterpart of that message. If you have “made a significant investment of time, with useful results, into Mozilla project-governed activities”, then head over to the page, scroll to the bottom, and follow the instructions for getting your name added.