Since this old presentation of mine has resurfaced (first on Reddit and now here), here's the comment I made on Reddit:
A good companion to this presentation is Douglas
Crockford's presentation on JavaScript security:
http://javascript.crockford.com/security.ppt (Warning:
PowerPoint).
He makes similar points about the security of JavaScript
and comes up with a different solution. He proposes doing
away with most of JavaScript and allowing only a
safe-subset of the language to be used."
As a follow-up I had proposed signing of <SCRIPT> tags: http://blog.jgc.org/2009/09/solving-xss-problem-by-signing-t...