Allowing specific IPs to access my app


I want to allow only specific to access my Gradio app. Is it possible to do that?

Hi @evegarcianz there’s no Gradio-specific feature, but you can get access to a user’s IP address in your prediction function using the gr.Request object: Sharing Your App. Once you have the IP address, you could do different things in your prediction function depending on the IP address