Simple play icon Course

Ruby on Rails 7 Security and Performance

by Anthony Alampi

This course will teach you web application security within the Ruby on Rails framework. You’ll learn to secure user data, prevent vulnerabilities, and implement robust authentication mechanisms.

What you'll learn

Understanding how to secure web applications is essential for any Rails developer. In this course, Ruby on Rails 7 Security and Performance, you'll work through the best practices for securing Ruby on Rails applications, ensuring the confidentiality, integrity, and availability of user data.

Starting with the essentials of password security, this course delves into the cryptographic principles that ensure secure password storage, such as hashing and salting, and how Rails seamlessly integrates these mechanisms through the use of the Devise gem - an industry standard - for robust user authentication.

As we progress, you'll gain expertise in managing user sessions in Rails, utilizing encrypted cookies and authenticity tokens to prevent session hijacking and fixation attacks, while also exploring the responsible use of flash messages to securely provide user feedback without exposing sensitive information.

Finally, the course addresses the critical threat of Cross-site Request Forgery (CSRF) by teaching the implementation of authenticity tokens in Rails applications, alongside strategies for effectively automating error messages to protect the app and inform users. Upon completion of the course, you’ll be prepared to implement these security solutions in a production rails application.

About the author

I'm Anthony Alampi, an interactive designer and developer living in Houston, Texas. I'm a former professional video game developer and current design consultancy owner with over 17 years of programming experience and over 9 years of design experience. User-centric design is my passion, and I believe that when users come first, they come back! About My Company: X Factor Consultants is a digital design and consulting company based in The Woodlands, Texas. Our cross-disciplinary team consists of... more

Ready to upskill? Get started