9

Is there any way of blocking websites programmatically on an Android device? I would like to have a blacklist of URLs that are populated into a continually running service. When the user running under restricted terms opens a browser, it should check that blacklist.

I've thought of modifying the hosts.allow and hosts.deny files, but those are protected.

2
  • 6
    @cularis: OP is asking programmatically..! Commented Jul 27, 2011 at 5:45
  • there is an app personalDNSfilter on google play. It does exactly what you described. You can take a look, maybe it will give some idea. Commented Aug 26, 2024 at 16:16

1 Answer 1

3

I'm pretty sure it is possible on a rooted device - there are some free firewalls. But on a regular device this might not be possible.. I think it would require Kiosk mode in Android

Sign up to request clarification or add additional context in comments.

2 Comments

There is a trick, I also searching that, Some of the apps are doing this with out root permission. Like kasperacy app.
Those apps get the authorization of being device administrators may be that might be the reason for their ability

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.