How to make sure that my Streamlit application can only be reached from my laptop and not by other people on the same network?

Hello,

I am using Streamlit to build an application that I intend to run only on my laptop. Once it is running on my laptop it shall not be accessible by anyone but me. People on the same network shall not be able to access it.

Would setting as 127.0.0.1 the server address in the .streamlit\config.toml file achieve that ?

[server]
port = 8500
address = '127.0.0.1'

This topic was raised in the past but at that point in time such feature did not seem to exist yet (How to disable “Network URL”? - Using Streamlit - Streamlit).

Thank you for your help,

Lucien