How to restrict many/bulk URL's in Internet Explorer by entering in text file and refer it to IE?

aaranimurali used Ask the Experts™
I want to put all the URLs which need to blocked and I want to refer this text file to IE not to allow access to those sites.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Why not just use a hosts file. The system already exists. You can create your own, so that any website you place gets re-directed to localhost, as the example shows below. This can be almost as big as you like and can be pushed out via a logon script to get copied to the proper location. For XP, this would be:


The file is called Hosts  (no extension)  Below is an example:

# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
#          # source server
#              # x client host       localhost      us-bos-mail2

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial