security - How do I securely store passwords in a configuration file in a Ruby/Rails web server environment? -


I need to store payment gateway processor username / password credentials on the production web server, but do not want to specify it --text . What is the best way to store these credentials? Are they the best practices for encrypting and decrypting this information?

This classic chicken-egg problem is if you can not protect the keys, then encryption will not help you. And you can not clearly do it

What would I suggest that other services / users have to try to make / use the user for your authentication code, and instead of saving those hashs In such a way, you will lose the best way, but it The Kil could be (depending on the rest of the setup) can actually do them salt properly conscious to use malicious manner.

If you can not use hash, then another possibility will be using the external authentication store. It does not really solve the problem, but you can control the attack vector and secure it by allowing only very specific contacts with the actual source with important data.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -