Hide dashboard?

I run a dashboard with streamlit. Works great, however anyone with the link of my VPS (virtual private server) can view my dashboard.

Nobody else has the link, but I’ve learned bots are scanning IP addresses and they will find my dash board sooner or later. How can I protect it from viewing by others?

  • I tried whitelisting IP addresses. But somehow I can’t obtain the ip addresses from viewers (just the internal address). So this won’t work.

How do other users address this issue?

(edit: I run “streamlit run app.py”)