How to block access to a website? Is there any way to block access to a particular website through the stock Android browser?
If you have root, you can mount the systems partition as editable and edit the hosts file and set the site in question to redirect to 127.0.0.1.  This is somewhat complicated voodoo, however, and I wouldn't recommend it if you don't know what I'm talking about already.

However if you don't want to do this manually and have rooted your phone, the app Hosts Editor is a nice little single purpose utility just for this.

If you're up for the voodoo, and have ADB installed:


From the terminal invoke the adb command with remount option otherwise you will get "failed to copy 'hosts' to '/system/etc/hosts': Read-only file system".

adb remount
In the terminal pull the default hosts file from /system/etc/hosts or /etc/hosts which is the symlink of the file not only for backup purpose but also to get the file to modify.

adb pull /system/etc/hosts &lt;path to pull hosts file to&gt;
Modify the file according to your needs. 
(eg) 127.0.0.1 www.somewebsite.com
Push the file back to the phone:

adb push &lt;path you pulled hosts file to&gt;/hosts /system/etc/
That's it.  You can check it out from the shell:

adb -e shell

cat /system/etc/hosts


source