I am sharing stremlit app with multiple users, is it possible to get the username of the machine they have opened the app so that I can restrict them for what data should be visible to them?
Please do reply, if there is any available option/ workaround for this, if not is it possible to get such a function is st.
Thanks
Hi Sandesh!
Welcome to community.
Streamlit doesn’t allow this.
Also JS security policy doesn’t allow this. So there can’t be any workaround ( unless you use ActiveXobjects in old IE or put some sort of daemon on user’s machine that talks to your application )
Checkout this SO link for reference.
Hope it helps !
1 Like