I have an application on an android device that hosts web pages. If I connect to the device that runs this via its android hotspot, I can use the default IP view the page.
This page is fed data from the internet. So the android device needs to have access to the internet. However, I do not want users who connect to the device's hotspot to be able to access the internet. I was wondering what the best way to sever that data bridge between the android hotspot and it's outgoing data connection. (I'm currently using Ethernet.)
I'd prefer a solution where I can edit the source files of the firmware itself as this is something that should be irreversible. I have full control over the source and also root.
Thanks in advance.