Select your language

Safety in Ruby on Rails

Ruby on Rails (RoR or simply Rails) is a development framework for open source Web applications that is enjoying great popularity in recent years. Rails follows the paradigm of the Model View Controller (MVC) architecture and is characterized by a high level of productivity compared to its learning curve. It is based on two principles, "Do not repeat yourself", i.e. definitions should be made only once and "Convention on configuration", which refers to the Ruby on Rails (RoR or simply Rails) is a development framework for open source Web applications that is enjoying great popularity in recent years. Rails follows the paradigm of the Model View Controller (MVC) architecture and is characterized by a high level of productivity compared to its learning curve. It is based on two principles, "Do not repeat yourself", that is, definitions should be made only once and "Convention on configuration", which refers to the fact that the programmer only needs to define that configuration that is not conventional.

Since its conception at the end of 2005, Rails has evolved supported by a growing number of developers to become a solid, scalable, well-documented Web programming framework, prepared for the business environment and with a security awareness that already pointed ways from its origins.

Currently, although the latest available version of Rails is 2.3.5, the jump to the new generation (version 3) after the merger with Merb -- another Web development framework on Ruby -- seems imminent, and given the degree of progress of the project, it is expected to occur throughout this year 2010.

From the point of view of safety, the new generation of Rails offers interesting possibilities, such as the use of custom middleware using rack (http://guides.rails.info/rails_on_rack.html), in addition to officially incorporating solutions that in previous versions of rails were implemented in plugins.

Whether we are developing with Rails in the 2.3.x branch or if we have in mind to undertake the migration or the development of a new business application based on version 3 of Rails, there are a number of considerations that we must take into account if we want to implement an adequate level of security in our Web application.

- Publicidad -

First, we will see some of the typical mistakes that are made during development and that will have implications to a greater or lesser extent on the security of our application. Needless to say, the examples used are very simplified to facilitate their understanding.

The second part of this document provides recommendations and considerations to be taken into account during development. In addition, some solutions available in the form of plugins that will contribute to improving the security of applications developed with Rails are discussed.

See original.

No comments

• If you're already registered, please log in first. Your email will not be published.

Comments are closed

The comments for this content are closed.

Investing in Access Controllers: Why Eliminating Them Can Be a Strategic Mistake

Investing in Access Controllers: Why Eliminating Them Can Be a Strategic Mistake

Thanks to technological evolution, today there are smart readers with the capacity to process credentials, store information and even operate locks autonomously. This has led many organizations to...

Case study: How did a retail chain in Costa Rica reduce fraud by 18%?

Case study: How did a retail chain in Costa Rica reduce fraud by 18%?

Almacenes El Rey is a rapidly expanding department store, with 18 branches nationwide and more than one million customers each year. Thanks to the Avigilon Unity Video solution, the retail chain...

Is storing video no longer enough? Milestone's Sales Director for Latam speaks

Is storing video no longer enough? Milestone's Sales Director for Latam speaks

Latin America. Johana Arias, an executive at Milestone Systems, discusses how the integration of AI, natural language, and open platforms are transforming video into actionable insights for...

Anti-intrusion system described as one of Ajax's largest in South America

Anti-intrusion system described as one of Ajax's largest in South America

Argentina. The Bayron company installed a protection system with more than 85 Ajax wireless devices in the new branch of Autos del Sur S.A., Toyota's official dealership in the country.

Interview with Manuel Carlos, Senior Sales Director for Mexico at Hanwha Vision

Interview with Manuel Carlos, Senior Sales Director for Mexico at Hanwha Vision

Mexico. Manuel Carlos, an executive at Hanwha Vision, details how the company is revolutionizing electronic security by consolidating generative artificial intelligence and processing at the edge.

Prosegur presents new capabilities in cybersecurity and automation

Prosegur presents new capabilities in cybersecurity and automation

International. Prosegur Security has created two new modules, xCope and xEcute, which aim to provide companies and organizations with a new corporate digital surveillance service and another for...

Access and video platform

Access and video platform

Johnson Controls Designed to take the complexity out of legacy systems, the latest version of C•CURE IQ helps organizations achieve faster response, simplify workflows, and turn safety data into...

SIA presents the new directives of its International Relations Committee

SIA presents the new directives of its International Relations Committee

Latin America. Mariana Ramírez is the new president of the International Relations Committee of the Security Industry Association (SIA), while Vanesa Cabral assumed the role of vice president.

Access management and security in stadiums during the World Cup

Access management and security in stadiums during the World Cup

International. With the World Cup underway, stadium operation and the management of credentials and critical assets become key factors in ensuring security in high-demand environments.

Jovicard modernizes its headquarters with HID access control technology

Jovicard modernizes its headquarters with HID access control technology

Brazil. Jovicard, which specializes in physical access control, secure identity, biometrics and integrated electronic security, completed the modernization of its corporate headquarters with trusted...

Suscribase Gratis
Remember Me
SUBSCRIBE TO OUR ENGLISH NEWSLETTER
DO YOU NEED A SERVICE OR PRODUCT QUOTE?
LATEST INTERVIEWS
SITE SPONSORS










LATEST NEWSLETTER
Latest Newsletter