Cloud Cybersecurity

Hello, I want to know more about the security of the Streamlit Community Cloud. Is it safe to upload an application that connects to a DB? The user and the password will be introduced when launching app, but I fear that the connection string in the code could be stolen, or even the user and password while the app is running (they are going to be saved as st.session_states).

Does anyone know more about this topic?? Thanks!!