bash
Don’t allow all users to have access to all data.
Avoid ever putting credentials in plain-text.
Trivial approach of using Sys or os in R and Python.
Sys
os
RStudio Connect to the Rescue with an encryption option.