{"id":14509,"date":"2012-11-17T17:43:18","date_gmt":"2012-11-17T16:43:18","guid":{"rendered":"https:\/\/www.digitalking.it\/2012\/11\/17\/block-web-sites-applications-and-ports-in-windows\/"},"modified":"2012-11-17T17:43:18","modified_gmt":"2012-11-17T16:43:18","slug":"block-web-sites-applications-and-ports-in-windows","status":"publish","type":"post","link":"https:\/\/www.digitalking.it\/en\/2012\/11\/17\/block-web-sites-applications-and-ports-in-windows\/","title":{"rendered":"Block web sites applications and ports in Windows"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time:<\/span> <span class=\"rt-time\"> &lt; 1<\/span> <span class=\"rt-label rt-postfix\">minute<\/span><\/span><p>Within internal tools offered by Windows (without use any third party software) you can block access to web sites, deny appications access internet and block ports.<\/p>\n<p><strong>Block access to web sites<\/strong><\/p>\n<p>With a text editor open hosts file in WindowsSystem32Driversetc and add x lines for each web site you want to block, eg.:<\/p>\n<p><em>127.0.0.1 sitea.com<br \/>\n127.0.0.1 siteb.net<\/em><\/p>\n<p>You can write them without www, the important part is the domain. In this way basically you redirect sitea and siteb to <a href=\"http:\/\/en.wikipedia.org\/wiki\/Loopback\" target=\"_blank\" rel=\"noopener\">loopback address<\/a>.<\/p>\n<p><strong>Deny applications to access internet<\/strong><\/p>\n<p>From Windows XP there is build in firewall. To block programs access to internet go to <a href=\"http:\/\/imageshack.us\/photo\/my-images\/838\/impostazioniavanzate.jpg\/\" target=\"_blank\" rel=\"noopener\">advanced settings<\/a> of Windows Firewall.<br \/>\nSelect \u201cOutbound rules\u201d and create a new rule.<br \/>\nLeave the radio button to program and go next.<br \/>\nThen choose the path of the executable you want to block and go next, in the next screen leave the radio button on &#8220;Block the connection&#8221;. In the next step leave checked all the profiles (Domain, Private, Public) and go next, finally give a name to the rule.<\/p>\n<p><strong>Block TCP and UDP ports<\/strong><\/p>\n<p>Always with Windows Firewall create a new inbound rule. As rule type choose port and go next. Select the port type (TCP or UDP) and specify the local port numbers, next leave checked the radio button &#8220;block the connection&#8221; and lastly leave checked all the profiles and give a name to the rule.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time:<\/span> <span class=\"rt-time\"> &lt; 1<\/span> <span class=\"rt-label rt-postfix\">minute<\/span><\/span>Within internal tools offered by Windows (without use any third party software) you can block access to web sites, deny appications access internet and block<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","footnotes":""},"categories":[3],"tags":[1003],"class_list":["post-14509","post","type-post","status-publish","format-standard","hentry","category-windows","tag-block"],"author_meta":{"display_name":"Simone","author_link":"https:\/\/www.digitalking.it\/en\/author\/admin\/"},"featured_img":null,"coauthors":[],"tax_additional":{"categories":{"linked":["<a href=\"https:\/\/www.digitalking.it\/category\/windows\/\" class=\"advgb-post-tax-term\">Windows<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">Windows<\/span>"]},"tags":{"linked":["<a href=\"https:\/\/www.digitalking.it\/category\/windows\/\" class=\"advgb-post-tax-term\">block<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">block<\/span>"]}},"comment_count":"0","relative_dates":{"created":"Posted 14 years ago","modified":"Updated 14 years ago"},"absolute_dates":{"created":"Posted on November 17, 2012","modified":"Updated on November 17, 2012"},"absolute_dates_time":{"created":"Posted on November 17, 2012 5:43 pm","modified":"Updated on November 17, 2012 5:43 pm"},"featured_img_caption":"","series_order":"","_links":{"self":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts\/14509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/comments?post=14509"}],"version-history":[{"count":0,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts\/14509\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/media?parent=14509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/categories?post=14509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/tags?post=14509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}