First I would like to thank the Dash/Plotly developers for this amazing and easy to use library!
I implemented the Basic Auth Example from https://dash.plot.ly/authentication (So i hardcoded a username/password in my code) and am running my App on Heroku.
I’m in no way an expert on security but hard-coding my password in my code does not feel very safe to me. Can I safely show sensitive date in my app or would someone be able to hack into it? In my app people would not be allowed to create accounts, the password is only there to protect sensitive data.
Please let me know if this is the wrong place to ask this question and whether I should direct my question to Flask or Heroku.