Monday 14 August 2017

How to Use Your Computer’s Hosts File to Block Tons of Malware, Porn, and Other Types of Websites

Whether you’ve given a computer to your child or just want to keep things clean on your own machine, blocking sites that serve malware, porn, social networking, and gambling en masse is useful. And while there’s lots of third party software out there for the job, the hosts file is a built-in option for every major operating system.

How to Use Your Computer’s Hosts File to Block Tons of Malware, Porn, and Other Types of Websites

The hosts file is a simple text document checked by your computer every time you connect to a domain name, meaning you can use it to redirect requests to sites you’d rather your computer not be able to access. here’s how to use that power to block entire categories of websites on any machine using a beautifully curated list found on Github.

How to Block a Single Website

Let’s say you want to block an individual site, like Facebook. Doing this is relatively straightforward. First, open your hosts file, then add this single line to the end of the document:

0.0.0.0 www.facebook.com

How to Use Your Computer’s Hosts File to Block Tons of Malware, Porn, and Other Types of Websites

Save the document, and you will no longer be able to access Facebook in any browser. (If you can, try clearing your DNS cache or restarting your computer.)

How to Use Your Computer’s Hosts File to Block Tons of Malware, Porn, and Other Types of Websites

So why does this work? The text we added, 0.0.0.0 www.facebook.com, is two things: an IP address followed by a URL. By adding these two things in order, we’re telling the computer to route all requests for facebook.com to the IP address 0.0.0.0, which is not a routable address. The result: the site fails to load.

That’s the basic principle. Now let’s soup this approach up and block everything.

Everything.

Block Malware, Porn, and Gambling Sites En Masse

If you want to block entire categories of websites—malware, say, or porn—you’ve first got to track down every single URL associated with those activities. Happily, the unified hosts file repo on Github has done this work for you. A curated list combining the efforts of many other communities, this page offers hosts files for blocking several combinations of categories.

How to Use Your Computer’s Hosts File to Block Tons of Malware, Porn, and Other Types of Websites

All of the files block adware and malware and porn, but many block other things such as porn, gambling, fake news, and even social networks. Find the combination of things you’d like to block, then click the link to the raw hosts file.

How to Use Your Computer’s Hosts File to Block Tons of Malware, Porn, and Other Types of Websites

Select all the text, copy it, then paste it in your hosts file. Your computer will now block all of these things.

How to Use Your Computer’s Hosts File to Block Tons of Malware, Porn, and Other Types of Websites

That’s right: no more porn. No gambling either. Guess you’ll just have to do some work.

Thanks for landing on this post, If you like my post then give your opinion and feedback in comment box.


Tags:- #How to Use Your Computer's Hosts File to Block Tons of Malware, #Using a Hosts File To Make The Internet Not Suck, #How Effective is Blocking Websites using HOSTS file?, #How to block a particular website, #How to block porn website in computer, #How to block Malware, #How to block website in a I.P., #Way2trick, #Computer tips tricks, #Computertipstricks, #Computer tips and tricks, #computer problems solution

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Labels

404 AdBlock Add-on Airtel GPRS Trick Airtel SMS Trick Alexa Amazon Amazon Kindle Amazon Prime Android Android 8 Android Oreo antivirus Apple Apple Mac ASCII Audacity Audio Authotkey Backup Balance Transfer in Vodafone Battery Bing Blogger Blogging Bookmarklet Browser Camera Chromebook clock Cloud colors command lines Computer Computer Tricks configuration Contact Creative Commons Credit Card CSS devolop DIY Doodle DOS Download Dropbox E-Mail eBook Email Email Attachment Embed Encryption English Error Evernote Eyes Facebook Facebook Tricks Feedburner Flipkart Font Foursquare Free Internet Free sms trick in Vodafone G Mail Gadget Game Getty Images GIF Gists Github Google Google AdSense Google Analytics Google Apps Google Chrome Google Contacts Google Currents Google DNS Google Docs Google Drive Google Earth Google Font Google Forms Google Images Google Map Google Photos Google Play Store Google Plus Google Print Google Reader Google Script Google Sheets Google Spreadsheet Google Translate GPRS Setting GPS Hacking Health App HelloFax Hindi Hoodie HTML Icons idea Image Editing Images IMEI Indian Railways Infographics Instagram Internet Internet Explorer Internet Tricks iOS iPad iPhone IRCTC iTunes iTV JavaScript JioCinema JioTV Junglee Kindle Language Translation Laptop Laptop. TV Life Time FREE GPRS Life-Style Link Linkedln Linux logo Make Money Online Microdoft Powerpoint Microdoft Word Microsoft Office Microsoft Outlook Mobile Mosaic Music Name Networking nexus Notepad OCR Online Shopping Open DNS OS Outlook Password PDF Petya Phillips Hue Lights Photogtraphy Pixel Play Station Podcasts Pokemon Pokemon Go Polls Print Productivity Proxy Server Pushbullet QR Code Ransomware Reddit Reliance Hack GPRS Reliance Jio RGB Ringtone Router RSS Safe Mode Samsung Galaxy S Scrabble Screen Capture Screen Sharing Screencast Secrets Security Send free sms from PC SEO Sierra Skype Slideshare SMBv1 SMS Snapchat Snapdeal Social Media Solution Sound Device Speech Recognition Sql Steam Sync Synology NAS Tata Docomo GPRS trick Teleprompter Torrent Trick Tricks TV Twitter UltraISO Unicode Unknown Extension Unlimited 2GB Unlimited 3GB Unlimited GPRS USB USB Security Key Video Editing virtual desktop Virus attack VLC Vodafone 110% working trick for GPRS Vodafone 3g Vodafone GPRS VPN wallpapers WannaCry Web Design Web Domain Website Wget Whatsapp WiFi Wikipedia Windows Windows 10 Windows 10 S Windows KN Windows Tricks windows updates Winows N Wolfarm Alpha WordPress XBox YouTube Zip
Twitter Delicious Facebook Digg Stumbleupon Favorites More