In this conclusion to a four-part series covering security for a Ruby on Rails ecommerce application, you'll learn how to protect the application against SQL injection, cross-site request forgery, and more. This article is excerpted from chapter eight of the book Practical Rails Projects, written by Eldon Alameda (Apress; ISBN: 1590597818).
Protecting Your Rails Ecommerce Application - Protecting Your Application (Page 2 of 5 )
Web applications are vulnerable to many exploits, and no framework can make up for a sloppy developer building an application that is easy to hack. In this section, we will review some of the most common exploits and show you how to use Rails to protect your application against them.
<%= h @user.first_name %>