Ruby On Rails Security: Understanding The Rails Developers Mind-Set

No ratings

Presented at t2 2010 by

Ruby on Rails is a mature web development framework that is being used more and more in the industry to replace Java and PHP based projects. Framework provides a set of tools for fast and streamlined web development. This makes development with Rails a lucrative option over other techniques. However, the combination of a bleeding edge framework and the steep learning curve required for deep understanding can result in severe security flaws. While SQL injection and other common web exploits are possible within the framework, this presentation solely focuses on security issues specific to Ruby on Rails. The framework relies on "Convention over Configuration" design paradigm to speed up the development of a typical web application. This also makes the codebases of different Rails applications to look very identical. For seasoned Rails expert it is easy to guess the implementation details even without access to source code. In the presentation the dynamic nature of Ruby and the learning curve of "doing the things Rails way" is also evaluated against security issues that araise mostly when developers are hacking some clever Ruby code. An overview of deploying Rails applications into production is also given, as well as a summary of the current state and future trends of the framework. Lastly a live demo session of Rails hacking is performed.