Securing Gradio App on Runpod with IP Whitelist

Hello, I'm running a Gradio app configured with share=True on Runpod. I can access it, but I'd like to improve security by whitelisting specific IP addresses. I've tried adding echo "python gradio_demo/app.py : 127.0.0.1, <MY IP>" >> /etc/hosts.allow, but this hasn't worked. Anyone could give me some advice? Thank you so much
1 Reply
Madiator2011
Madiator20119mo ago
You probably cant protect it with ip but you can use password instead
Want results from more Discord servers?
Add your server