hi
i want to block some sites so that my younger siblings can't access them , how to do that?

Dani AI

Generated

Several good options were already suggested by other members: pointed out Windows Parental Controls, described editing the HOSTS file, and suggested a HOSTS editor to automate the work. Which approach is best depends on whether the block must apply to one PC or the whole household, whether the siblings have administrator rights, and how determined they are to bypass protections.

A solid baseline is account-level restrictions. Create a standard (non‑administrator) Windows account for the younger siblings and enable Parental Controls on that account to limit programs and enforce schedules. For meaningful web filtering on Windows 7, pair the built‑in controls with a family/parental‑control product that offers category filters, schedules, and activity reports. Keep the administrator account passworded and out of reach.

For whole-home coverage, use the router or a DNS‑level filtering service. Most routers can block URLs or be pointed at a DNS filter, which protects every device on the local network (phones, tablets, consoles). That method won’t cover devices on cellular networks or those using a VPN, so combine it with account restrictions on individual machines. After changing router or DNS settings, refresh device network settings so the new rules take effect.

Quick local fixes (HOSTS edits or browser extensions) are useful for immediate blocking but are easy to undo if the user has admin access or uses a proxy/VPN. A practical, robust setup combines a locked admin account + OS‑level parental controls or a reputable parental‑control suite + router/DNS filtering. Because Windows 7 reached end of support in January 2020, favor network‑level controls and current security software on any remaining Windows 7 machines.

Recommended Answers

All 4 Replies

Download Hostsxpert and edit the Hosts file by adding the sites you want blocked.

If you want to block specific sites you can edit the file

c:\windows\system32\drivers\etc\hosts

for each site that you want to block, add a line like the following

127.0.0.1 site-address

for example, if you wanted to block access to the site www.wired.com you would add

127.0.0.1 www.wired.com

Normally, if you entered http://www.wired.com into your browser address bar, a DNS (domain name server) would convert that address to an IP address (in this case, ). What the new entry in HOSTS does is force the location to the address you specified (127.0.0.1) which, instead of being the actual site is now your localhost adapter.

Note - you will have to run your editor as Administrator. Also, once you are done, you can check the results by opening a command window and typing (substitute your blocked website address)

ping www.wired.com

you should see

Pinging www.wired.com [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time=1ms TTL=128

thanks alot

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.