Solved I need something to block URLS

blockie

New member
Member
VIP
Local time
12:52 AM
Messages
605
Location
in Assisted Care facility, Calif
The computer I maintain has one user account without a PW. This is to allow residents of the facility to use the computer occasionally. I have had to remove some virus's from the computer. I suspect that the playing games ( which I have seen them do) might be the source of those virus's. I have decided and convinced management to put in a blocker so that the users cannot get to suspect sites. I guess I need two items a blocker and a list or lists that can be imported. Does anybody have any good ideas?

Bill
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus
OS
W7 Ultimate
CPU
2.2 bh Intel Core i3-2330M
Motherboard
Asustek Computer Inc. P53E 1.0
Memory
4MB
Graphics Card(s)
On Board
Sound Card
On Board
Monitor(s) Displays
On Board
Screen Resolution
1366 X 768
Hard Drives
ST9500423AS
ST2000DM USB Backup Drive External

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP, Pavilion
OS
Modified Windows 7, Windows Professional, 32bit
CPU
Intel(R) Core(TM) i5
Memory
4GB
Hard Drives
500GB
Case
Aluminum
Cooling
Fan
Keyboard
Built-In
Mouse
Wireless, Logitech
Internet Speed
Fast Enough, I Guess
Antivirus
Microsoft Security Essentials
Browser
Chrome. IE-11, Pale Moon
Most firewalls have an option to enter URLs you want to block. Many AVs do too, like AVAST for instance, and settings can be protected by enabling the option to require a password to change them.

Another option is to edit the hosts file so that any undesired URL maps back to 127.0.0.1 (the local computer).

The browser checks the HOSTS file before querying your ISP's DNS server for the matching IP of any website you visit (or that a program requests). So if you list "www.yahoo.com" in the hosts file along with their IP address, you will get to Yahoo! much faster b/c the browser won't have to query a server for the IP. If, OTOH, you map your own localhost IP of 127.0.0.1 to www.yahoo.com, you won't reach the site at all b/c your browser will redirect you to your own computer. So to block a website, you can list it in the HOSTS file, mapped to the localhost 127.0.0.1 address.

To Edit HOSTS file:

1. Navigate to c:\windows\system32\drivers\etc\

2. Select HOSTS file, and CTRL+C to copy.

3. Click on Desktop, CTRL+V to paste

4. Go back to the /etc folder and rename HOSTS to Hostsbackup

5. On Desktop, dbl click HOSTS file and open with notepad.

6. Text following the "#" hashtag are comments. Edit the file as necessary by adding website names mapped to the address of choice. Follow the examples already contained there.

7. Save and close. Then Drag/Drop back into the original .../etc directory.
 

My Computer

OS
Win 7 Ultimate 64-bit
Parental Controls which is a feature already built in Windows gives various options to limit what users can do : what programs they can launch, which types of games they can start, etc..

Some tutorials exist on these forums explaining how to set it all up :
What can I control with Parental Controls? - Windows Help
http://www.sevenforums.com/tutorials/54360-parental-controls-setup-use.html
http://www.sevenforums.com/tutorials/54369-parental-controls-set-time-limits.html
http://www.sevenforums.com/tutorials/54386-parental-controls-set-game-restrictions.html
http://www.sevenforums.com/tutorials/54397-parental-controls-allow-block-specific-programs.html

To restrict Internet access you can either use the Content Advisor but afaik it will only affect Internet Explorer or use the Hosts file.
http://www.sevenforums.com/tutorial...nt-advisor-allow-block-specific-websites.html
http://www.sevenforums.com/tutorials/78266-hosts-file-use-windows-7-vista.html
Limit the content that children can view on the web

Another good option might be to use OpenDNS which can filter what your PCs can access from the Internet. You'll have to change your DNS in Windows or in your router settings.
http://www.sevenforums.com/tutorials/15037-dns-addressing-how-change-windows-7-a.html
Home Parental Controls | OpenDNS
 

My Computer

Computer type
PC/Desktop
OS
Windows 8
Here is a Host file picture showing a redirected URL (as mentioned in earlier posts).
The highlighted section is "blocked".
277918d1374672466-how-do-i-block-https-access-social-networking-sites-hosts-file.png
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
Games site blocking

Hosts file: It doesn't prevent connection if a user types the website's ip address.

Example:

Blocked domain in my HOSTS file:

HOSTS - EmEditor.jpg

Can still visit site if ip address is used:

HOSTS - IP Address.jpg

So that's fine on a home computer with a sole user.

Blocking games sites - could take a fair amount of work but you'd need some sort of monitoring tool to see what sites are being visited as well as the ability to block them.

Take a look at this software - free and paid versions:

WFilter deployment, online user manual and guide, WFilter documents.

Take a look at how to block games sites:

Block online games of network computers - WFilter Enterprise

User Manual: WFilter Enterprise Manual 4.1

Take a look at deployment examples and see if it makes any sense to you. If not - ask for help. It's not something I know much about so other members might know more.

If you don't decide to use it at least it should give some idea of the kind of measures neeeded.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Hosts file: It doesn't prevent connection if a user types the website's ip address.

Great to know and now that you say that, it makes perfect sense. Thanks for that.
 

My Computer

OS
Win 7 Ultimate 64-bit
Hosts file: It doesn't prevent connection if a user types the website's ip address.

Great to know and now that you say that, it makes perfect sense. Thanks for that.

But that's because there's already a tool in Windows to block directly IP adresses. The Hosts files takes care of redirecting hostnames to manually configured IP, Windows Firewall blocks/allow specific IP adresses.

Via the Advanced Security feature, you can create outbound rules and block some IP, and apply it to all programs, all ports.

Add or Edit Firewall Rule
Windows Firewall with Advanced Security
How to Create Advanced Firewall Rules in the Windows Firewall

Since some websites use pools of IP (sometimes changing all the time), this can be a pain (ex: Windows Update).
The easiest solution would be to allow only few IP adresses and block the rest (some schools do that), but you severely limit the usefulness of Internet with such a policy.

If think you're better off blocking hostnames via Host file, Content Advisor/Parental Controls or OpenDNS, and log your users Internet activity (Parental Controls can also help in that with the detailed report feature : http://windows.microsoft.com/en-us/...activity-reports-in-windows-parental-controls). If some users bypass your security with direct IP then use Windows Firewall or your router's firewall.
 
Last edited:

My Computer

Computer type
PC/Desktop
OS
Windows 8
I thin I have enough info to decide what to do. Let's call it SOLVED. Thanks guys.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus
OS
W7 Ultimate
CPU
2.2 bh Intel Core i3-2330M
Motherboard
Asustek Computer Inc. P53E 1.0
Memory
4MB
Graphics Card(s)
On Board
Sound Card
On Board
Monitor(s) Displays
On Board
Screen Resolution
1366 X 768
Hard Drives
ST9500423AS
ST2000DM USB Backup Drive External
Back
Top