If you&#x27;re planning to work with minimally-vetted freelancers or otherwise need to consider malicious internal stuff, strongly consider injecting sensitive data like database passwords via e.g. environment variables instead of storing them in the repository at all. Rails etc. should make this easy. (Of course, your system administrator can still read that data, but that&#x27;s pretty much unavoidable.)<p>(This is a best - and common - practice for exactly the reasons you hint at.)