How to block access to websites in MacOS X by 밀크보이

Assuming you've backed up the original hosts file, run this from the Terminal

sudo /usr/bin/pico /etc/hosts

At the end of the existing text, add the IP address of the site you want the user redirect to, a space and then the site you want blocked, like this


127.0.0.1 WWW.NAVER.COM
127.0.0.1 NAVER.COM

Save the file. Clear the cache on your browser and then navigate to WWW.NAVER.COM.

덧글

댓글 입력 영역