4

What's the right way to handle sensitive content in Rails 3/Heroku/Postgres database?

Why kind of encryption. How to implement? What to use to implement?

1 Answer 1

4

this SO Article discusses some encryption/decryption options that you could look into. without knowing too much about your application, I would say look there first and see if you can find anything that fits the bill. As a big side note, whatever protection method you choose, be sure not to forget to add filters to your application.rb file, or else you may find your unencrypted data appearing in the log files. to do this you would need to simply add something like in application.rb:

config.filter_parameters += [:password, :YOUR_FILTERED_PARAM]
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks Will. I'm interested in encrypting non-passwords, just regular content. Like a Note Content, etc...

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.