The easiest Way to filter out porn (or other content) via the network router is to use a namesever (DNS) with a blacklist.
A free solution is for this openddns family shield.
How to Setup opendns with family filter
You first need to signup for an account here. You will get the
FamilyShield OpenDNS server addresses after you signed up.
setup-guide from the ...
I found that Pi-Hole suits my needs.
It's open source
it supports all hardware and platforms, because it blocks ads on DNS level.
simple and easy to use: the clients do not need to install any software. They will be configured via DHCP automatically.
Hardware cost: 1 Raspberry Pi 1A, 1 SD card (4 GB is enough), 1 power supply. Total less than ...
First things first: If you really do work to overcome the following system, you really (no joke) should seek psychological assistance (note from the future: I did seek such assistance and it helped me greatly. If the tool recommended won't help, consider writing me an email).
I, as you, am (kinda) addicted to specific sites which I visit often and spend far ...
I'd recommend going without additional software. To edit your C:\Windows\System32\Drivers\etc\hosts file, make sure you are running Notepad As Administrator.
If it still does not work, check the ownership of the file. I've already seen it set weird way. I've taken it, re-checked appropriate permissions and then editing worked as expected.
I think any firewall should be possible to configure like that. Even Windows firewall can serve well.
Method is called a WhiteList. Easy principle, you should setup 2 rules:
one will DENY access for all outgoing IP's on ports 80 and 443.
one will ALLOW access for address you want to let open.
Carefully, all Widows updates etc. will be blocked as well or ...
A lot of the answers here are referencing the almighty hosts file, and indeed, that is your best bet. Here's an automated solution provided by some smart guys over at StackOverflow that utilizes no third party software. You can bundle this up into a batch file and run as a Windows task that unblocks at certain times and completely forget about it.
You could use a proxy server, such as squid.
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and
more. It reduces bandwidth and improves response times by caching and
reusing frequently-requested web pages. Squid has extensive access
controls and makes a great server accelerator. It runs on most
available operating systems, ...
I use the extension Blocker to accomplish this.
It fulfills your requirements, the difficulty of the task required to turn it off (typing a random alphanumeric string) is configurable, and about the only improvement I can imagine for it would be not having to disable it to add a new site to the list.
I assume you have to disable it so you don't remove ...
A quick Google Search lead me to the extension called Block Site, reviews for the app are solid and has a user base of 400,000+, and is rated 4/5.
Block site is a tool made just for this purpose.
Right click on a site to (un)block it
Easy to use
I recommend Cold Turkey. Freeware and works with Windows 8, Windows 7, Vista and updated versions of Windows XP, 2000 and NT.
Features (quoting its website):
Block Sites - Use the default list of popular sites to block, or add any number of your own to the list.
Block Applications - Cold Turkey can block programs too! Just browse to the executable ...
I've helped a lab tech friend of mine setup Focal Filter sometime back. I don't have much experience with it but from the homepage it seems to be pretty intuitive to use and configure.
Blocks multiple sites
Has a time delay
Works across multiple versions of windows, Xp and up
There is also a list of other free alternatives at the bottom of the page.
In LinuxFormat I read about DansGuardian, where it is described as
'The best web content filter, bar none.'
It is available in most distro repositories, and works (as far as I understand) as a sort of proxy server that you then configure your browser to use (127.0.0.1 at port 8080). In /etc/dansguardian/ it has lists with banned URLs, whole websites, and ...
I suggest using a configurable DNS service like OpenDNS. This is the "parental control" kind of service, but it fits your needs.
free for home use
Requires no fiddling with the hosts file, instead you once set the DNS servers at the router level.
Automatically works on all your local machines
Allows to configure allowed/disallowed categories as well as ...
You can install applications like SafeBrowser (Does not require root), however, this goes at the question as though you're going to abide by using this as your browser (you could enforce some application lock to ensure this happens, however).
Well, if you root your Samsung Galaxy T231 , through ES File Explorer you can edit your host file. This can be done ...
Currently hosted in this Github Gist
Once https://userscripts.org/ comes back online, it may move there.
I made, and released this product just for you.
It is a Greasemonkey userscript.
You'll need a userscript runner to use it.
For Firefox you'll need to install Greasemonkey. It has only been tested in firefox.
It might ...
There is NoRoot Firewall that can block outgoing connections not just for a browser but for all programs. It can block connections either by hostname or by IP. Ability to block a particular port or range of ports or all of them. You may create your own rules for all applications (including system) who is allowed to go out and who is not. There're also ...
My comment was getting rather long, so I will post this as an answer.
Tldr; The answer is "AIN'T GONNA HAPPEN.
I asked you in comments
Can you define "pornography", because, if you cannot then you cannot
block it? Good luck in not blocking too much or too little.
opendns is free and reliable. Adding in family shield blocks everything you are intending to block.
However, I want to share some other options out there to block the content at the router.
Norton ConnectSafe is another option. There are 3 levels of blocking.
Policy 1: Security) This policy block all sites hosting malware, phishing sites, and scam sites....
If you're talking about hiding them when you do a search yourself, you could use the Greasemonkey / Tampermonkey extension to have a script delete them from the results when you do a search.
If you're talking about having them not show up to anyone on the internet and you manage the websites, you can do that via a robots.txt file which you place in the root ...
Three popular one Hands Off at $50, Radio Silence at $9, and Murus which offers a free version. Radio Silence offers a free trial. The first 2 were obtained by looking on the website "Alternative to" while Murus came from a similar alternative site.
Generally speaking, the developers of website-specific smartphone applications, such as Facebook, don't provide an extension mechanism for the application, nor its source code. So it can be difficult or impossible to modify the application to, e.g., block ads. This is likely one reason that websites aggressively promote their smartphone applications: it ...
Whilst this may seem very vague (answer), it is intended to be viewed by others with different ISP (Internet Service Providers), and their equipment.
Depending on how you want to broach the subject (in terms of complexity) would determine how you implement this. My first suggestion is the use of OpenWRT, which may or may not be supported on your device. ...
There is Mobiwal: NoRoot firewall which also looks very familiar to NoRoot Firewall mentioned in another answer. Looks like both of the solutions work by creating a VPN connection but don't route the connection anywhere external according to the FAQ. Apart from the import domain names from file, this app has all the features you are looking for. It has ...
There's is no absolute solution. There are millions of adult websites on the internet and thousands of new ones are created every day, no one can have a complete list of all URLs.
For blocking websites you can use a web proxy such as Privoxy or block at router level, for example.
Aye, SelfControl does this. You can input specific domains to be black-/whitelisted or knock out connectivity across the board. The timer can't be reset by restarting your computer nor nullified by uninstalling. Great little application that does just what it claims and does it well.
Yes. You can try Persistence. I double checked and it supports up to 30 day blocking.
Persistence is very similar to "Cold Turkey" or Self Control, although it redirects the websites to motivational quotes, rather than simply block them. (I personally found this a bit strange, since I don't know if they're tracking or getting ad revenue.)
The other ...
I would like to recommend Comodo Firewall. It's a free application that has a very user-friendly interface with advanced options available. This also meets your requirements by allowing you to:
Allow/Block Outgoing/Incoming traffic per application
Allow/Block certain domains/IP's per application
I've been using their Internet Security ...
Take a look at Untangle. It should do most of what you need.
Note that there is both a paid and a free version of the content filter, and the free version sucks pretty hard. It works, but it's lists aren't very complete. Content filtering is a service that needs a lot of power behind it in order to keep up with the ever-growing internet, and so you won't ...