Solved

how to block one website

Posted on 2014-11-04
8
265 Views
Last Modified: 2014-11-10
Is there a way to block only one website using the host file or some other file in the computer?

without using opendns...
0
Comment
Question by:al4629740
  • 4
  • 3
8 Comments
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 167 total points
Comment Utility
The common way is to put it in the host file like this:

127.0.0.1  www.blockedsite.com

That works because there won't be any response from 127.0.0.1
0
 
LVL 24

Expert Comment

by:VB ITS
Comment Utility
Yep I would modify the hosts file as above.

You can also look at blocking access to the site on your router if you need to do it for more than one person, otherwise you would have to go around and modify everyone's hosts file.
0
 

Author Comment

by:al4629740
Comment Utility
Will this override the DNS server?
0
 
LVL 24

Assisted Solution

by:VB ITS
VB ITS earned 333 total points
Comment Utility
Will this override the DNS server?
If you are referring to the hosts file then yes. If you decide to block it at the router then it won't override DNS, your router will just block any outgoing traffic to the site - this is subject to the capabilities of your router though.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:al4629740
Comment Utility
What if I use open DNS at the router and I want to block an additional site at the computer using a host file?
0
 
LVL 24

Expert Comment

by:VB ITS
Comment Utility
On how many computers do you need to block access to this website? If it's just a few then it would be easier to modify each computer's hosts file.
0
 

Author Comment

by:al4629740
Comment Utility
just a few
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 333 total points
Comment Utility
In that case it would be easier and less time consuming to modify the hosts file one each of the machines. No real need to mess around with your router.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now