Earlier quoted context omitted.
> there are better technical ways Sorry I'm a non-devops programmer ;) bad me. What are the better ways? HTTP 403 and friends? (Praying that you won't say "a .exe to fix the browser's access to porn")
Router-level blocklists/firewalling are the most common, but there are other ways. Think of how companies sanely implement their internal web access filters.
Unless you consider it sane to block anything that is not http.
But, well, the idea of filtering bad things from the internet is insane enough by itself.