The software industry is currently experiencing a paradigm shift towards web-based software. We argue that web technologies should evolve in a direction that would allow the developers to easily create “mashware” – mashup software that leverages components and other content from all over the world. In order to accomplish this, improvements are needed especially in two areas: security and modularity. In this paper we summarize our vision for the future of web applications, focusing especially on these two important areas.