{"id":573,"date":"2012-06-23T12:55:05","date_gmt":"2012-06-23T12:55:05","guid":{"rendered":"http:\/\/www.top-password.com\/blog\/?p=573"},"modified":"2012-06-23T12:55:05","modified_gmt":"2012-06-23T12:55:05","slug":"how-to-block-a-website-without-using-any-software","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/how-to-block-a-website-without-using-any-software\/","title":{"rendered":"How to Block a Website without Using Any Software"},"content":{"rendered":"<p>Internet is so vast that any information you need is just a mouse click away. Yet the technology that helps us explore and use the web also makes it easy to expose our personal information to others. Hackers and spammers often use this phenomenon to their advantage, creating malicious websites, that when visited, can track your browsing habits,\u00a0steal your passwords and credit card information, or can infect your computer with malicious softwares such as Viruses, Worms and Trojans.<\/p>\n<p>The easiest way to protect ourselves or our family members from accessing such dangerous websites is to block them altogether. There are actually many softwares available on the internet which are pretty good in blocking websites on your computer, but they cost money and are sometimes difficult to operate.<\/p>\n<p>In this article I will show you how to block unsafe websites on your Windows PC without investing in any additional software.<\/p>\n<p>Note\u00a0: Blocking harmful websites is not a complete security solution. It is still recommended that you run anti-virus software on your computer and be careful of the websites you visit.<\/p>\n<p><strong>How to Block A Website without Using Any Software:<\/strong><\/p>\n<p>1. Run Notepad as Administrator : For this go to\u00a0<strong>Start<\/strong>\u00a0\u00a0&gt; <strong>All Programs<\/strong> &gt; <strong>Accessories<\/strong>, right-click <strong>Notepad<\/strong>\u00a0and select\u00a0<strong>Run as administrator.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-574\" title=\"run-as-administrator\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/run-as-administrator.jpg\" alt=\"\" width=\"344\" height=\"320\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/run-as-administrator.jpg 344w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/run-as-administrator-300x279.jpg 300w\" sizes=\"auto, (max-width: 344px) 100vw, 344px\" \/><\/p>\n<p>Note\u00a0: If you are prompted for an administrator password or for a confirmation, type the password, or click <strong>Allow<\/strong> or <strong>Yes<\/strong>.<\/p>\n<p>2. Within Notepad\u00a0go to <strong>File<\/strong> &gt; <strong>Open<\/strong> and select \u00a0<strong>All Files<\/strong> from the drop-down menu present near the bottom right corner of the window (check the screenshot).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-575\" title=\"open_notepad\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/open_notepad.jpg\" alt=\"\" width=\"604\" height=\"109\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/open_notepad.jpg 604w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/open_notepad-300x54.jpg 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>3. Now type the following text in the File name field and click <strong>Open<\/strong>:<\/p>\n<p>C:\\Windows\\System32\\drivers\\etc\\hosts<\/p>\n<p>5.\u00a0 The hosts file will open up.\u00a0Go to the last line of the file and press the <strong>Enter<\/strong> key. Type 127.0.0.1 followed by the address of the website that you wish to block. For example, to block facebook.com, type :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-577\" title=\"host_block_facebook_example\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/host_block_facebook_example.jpg\" alt=\"\" width=\"596\" height=\"372\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/host_block_facebook_example.jpg 596w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/host_block_facebook_example-300x187.jpg 300w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/p>\n<p>Never add http:\/\/ at the start of the URL. Doing so will make the entry invalid. Also note that writing www is optional.<\/p>\n<p>6. To block more websites, type 127.0.0.1 followed by the website address in every new line. You can block as many websites as you like.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-576\" title=\"block_without_software\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/block_without_software.jpg\" alt=\"\" width=\"597\" height=\"415\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/block_without_software.jpg 597w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2012\/06\/block_without_software-300x208.jpg 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/p>\n<p>7. Save and close the file.<\/p>\n<p>Thats it! Now try to access the offending site(s) from your Web Browser. You&#8217;ll see that those specific website(s) will no longer be accessible.<\/p>\n<p>In case you wish to undo the changes, follow Step 1-3 and delete the lines you had typed. You will again be able to open those sites.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Internet is so vast that any information you need is just a mouse click away. Yet the technology that helps us explore and use the web also makes it easy to expose our personal information to others. Hackers and spammers often use this phenomenon to their advantage, creating malicious websites, that when visited, can track [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10],"tags":[260,261],"class_list":["post-573","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","tag-block-website","tag-how-to-block-a-website"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=573"}],"version-history":[{"count":2,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/573\/revisions\/579"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}