Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Digital Literacy

Jim Awofadeju
Jim Awofadeju
4,097 Points

I have a question about how Internet filters work. Do Internet filters interfere with the server-client response?

When an Internet user wants to block content or websites that are inappropriate, they usually put in place some sort of filter. Do filters not allow the server to respond to a client's request for certain content? A client can always make a request for a server to respond to, but with filters in place the response to the client (i.e. website on the screen) will not display. Am I right or is there more to how Internet filters work?

2 Answers

There are multiple ways you can achieve ways to block certain websites. The most common is blocking DNS. They block DNS because a website's IP changes significantly. Say you type in www.google.com and you block the DNS (Dynamic IP) you send the request, but your router will block the ping that google will send back, and your computer won't receive that IP.

Short answer <b> Yes </b>

With the filter than I've used most often, the firewall redirects http requests to the filtering server for inspection and if it is a request for a blocked URL the traffic is dropped and a page returned instead that tells the end user that the site is blocked. So I don't think the client's http request ever reaches the target server.