Skip to main content.

Douglas Crockford on the Mashup Problem

John Musser, October 1st, 2007   Comments(5)

If you’re at all interested on the future of JavaScript as a mashup platform, be sure to watch this engaging talk by Douglas Crockford on Gears and the Mashup Problem (for those of you who don’t know Douglas he’s currently senior JavaScript architect at Yahoo and is arguably the foremost expert on JavaScript and JSON today). It’s a Google Tech Talk from last month and here’s the abstract:

Mashups are the most interesting innovation in software development in decades. Unfortunately, the browser’s security model did not anticipate this development, so mashups are not safe if there is any confidential information in the page. Since virtually every page has at least some confidential information in it, this is a big problem. Google Gears may lead to the solution.

dougcrockford.png

A few notes from the interesting and thought-provoking video (with a good sense of humor to boot):

  • He begins by noting that “security is the number 1 biggest with the whole World Wide Web”.
  • This is often due to a “Ship it now. Secure it later.” attitude to application development along with a “blame the user” security model (like what happens these days when a user’s given a confusing “Do you grant this application access to all your data” pop-up login in a mashup).
  • He traces the history of JavaScript from Netscape 2, thourgh Microsoft’s JScript and XMLHttpRequest, and points out that neither the HTML or JavaScript standards have been updated since 1999 (Web time no longer means doing things “really fast”).
  • Java was a “huge failure” of “write once, run away screaming”.
  • Argues that “Mashups are the most interesting innovation in software development in 20 years.”
  • But, because mashups in the browser are insecure, “nothing but trivial applications” should be built there.
  • All programs in a common global space; cross site scripting, XSS; in the DOM all elements can access siblings and parent
  • To be secure, mashups require “Cooperation with mutual suspicion.”
  • He is a big fan of Google Gears, which by virture of its Worker Pool architecture has the potential to address many of the key JavaScript security issues.

In the end Douglas proposes having a Mashup Solution Design Summit that ideally would have particpation from folks at Google, Yahoo, Microsoft, IBM, Adobe, and others. Sounds like a very good idea.

5 Responses to “Douglas Crockford on the Mashup Problem”
  1. […] Douglas Crockford on the Mashup Problem (tags: blog.programmableweb.com 2007 mes9 dia1 at_tecp mashups google_gears javascript web2.0 webservices security) […]

  2. John,

    This is extremely relevant and useful information. Thank you for reporting it.

  3. This is an excellent overview of security issues and programmability issues on the web. As security researchers sink their teeth into solving XSS, SQL injection, input validation issues, and so on we should see a lot of change for the better in this respect. There’s no reason to limit yourself to “trivial applications” though. It didn’t stop Windows, Unix, or the web itself from being created and added to critical infrastructure.

  4. […] expert Douglas Crockford calls the language and just this sort of vulnerability ‘the mashup problem’ since “mashups are not safe if there is any confidential information in the page. Since […]

  5. […] this is a small part of why Douglas Crockford says that “Mashups are the most interesting innovation in software development in […]

 

Leave a Reply

Our Sponsors

StrikeIron. 100+ web services. Build Something.Build mashups at openkapowUserplane, Get it StickySerena Mashup Composer - Just bleep itSnapLogic: Unlock your data for enterprise mashupsMonetize your music spaceThumbplay: Add Mobile to Your Apps
Develop and deploy. Wicked, Fast, Free. BungeeConnect

Member of
Web 2.0 Workgroup

 

 
Close
E-mail It