SafeWeb: A Middleware for Securing Ruby-Based Web Applications - Middleware 2011 Access content directly
Conference Papers Year : 2011

SafeWeb: A Middleware for Securing Ruby-Based Web Applications

Petr Hosek
  • Function : Author
  • PersonId : 1018148
Matteo Migliavacca
  • Function : Author
  • PersonId : 1018149
Ioannis Papagiannis
  • Function : Author
  • PersonId : 1018150
David Evans
  • Function : Author
  • PersonId : 1018151
Brian Shand
  • Function : Author
  • PersonId : 1018152
Jean Bacon
  • Function : Author
  • PersonId : 1018153
Peter Pietzuch
  • Function : Author
  • PersonId : 978525


Web applications in many domains such as healthcare and finance must process sensitive data, while complying with legal policies regarding the release of different classes of data to different parties. Currently, software bugs may lead to irreversible disclosure of confidential data in multi-tier web applications. An open challenge is how developers can guarantee these web applications only ever release sensitive data to authorised users without costly, recurring security audits.Our solution is to provide a trusted middleware that acts as a “safety net” to event-based enterprise web applications by preventing harmful data disclosure before it happens. We describe the design and implementation of SafeWeb, a Ruby-based middleware that associates data with security labels and transparently tracks their propagation at different granularities across a multi-tier web architecture with storage and complex event processing. For efficiency, maintainability and ease-of-use, SafeWeb exploits the dynamic features of the Ruby programming language to achieve label propagation and data flow enforcement. We evaluate SafeWeb by reporting our experience of implementing a web-based cancer treatment application and deploying it as part of the UK National Health Service (NHS).
Fichier principal
Vignette du fichier
978-3-642-25821-3_25_Chapter.pdf (508.06 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01597759 , version 1 (28-09-2017)





Petr Hosek, Matteo Migliavacca, Ioannis Papagiannis, David M. Eyers, David Evans, et al.. SafeWeb: A Middleware for Securing Ruby-Based Web Applications. 12th International Middleware Conference (MIDDLEWARE), Dec 2011, Lisbon, Portugal. pp.491-511, ⟨10.1007/978-3-642-25821-3_25⟩. ⟨hal-01597759⟩
62 View
197 Download



Gmail Facebook X LinkedIn More