How do I encrypt data in my database?
A beginner’s guide to keeping your data safe from those nasty bad guys: http://theartandscienceofruby.com/2015/06/29/how-do-i-encrypt-data-in-my-database/
A beginner’s guide to keeping your data safe from those nasty bad guys: http://theartandscienceofruby.com/2015/06/29/how-do-i-encrypt-data-in-my-database/
Comments
This encrypts the data in the database, but if your application is hacked it doesn’t provide any help does it? What stops me from running
Person.all.map{|p| p. api_password}
to get all their passwords?No it won’t keep your application safe, just your database.
I wrote a quick reply just for you Philip :-)
http://theartandscienceofruby.com/2015/07/02/attr_encrypted-and-keeping-your-application-safe/
Post a comment