Possible Duplicate:
How to restrict Android device to not open some specific site e.g.youtube, facebook
I am developing an application where a feature is to stop users to use YouTube or facebook while they are using the application. By some finding I came to know that I have to edit /etc/hosts .... but how ... thats what I want to know...
some one told me to make entries in this file to restrict specific websites but for that I need root privileges.