CODEX
Ruby on Rails — bcrypt Password Protection and User Authentication
bcrypt is an excellent tool for shoring up password protection and user authentication in your Ruby on Rails application.
Authentication Systems
Proper user authentication and password protection are a must for any application seeking to restrict content or collect sensitive user information. With identity theft negatively impacting millions of individuals each year, data breaches could prove detrimental not only to the user but also to the platform. A single data breach has the potential to erode public trust and confidence and depending on the breach, open the door to liability. Avast recently reported that 90% of online users worry about compromised passwords. Both Lawless Research and TeleSign also reported that~71% of online accounts, IoT devices, and smartphone applications are protected by the same set of passwords used across multiple accounts. These findings in conjunction with the Ponemon Institute reporting a single password is used on average to access five accounts, demonstrate the need for safeguarding login credentials if you intend to have secure content.