As a homeowner you have a right to put locks on your door. Don't expect others to protect you and don't ever think you have the right to take away what others can do to your neighborhood and public school
Your problem is that you're trying to put locks on other people's doors, prohibiting even them from getting in. That's just not how things are supposed to work.
There is just no analog because there is no conceivable way in which other people having access to websites is going to make you unsafe. You are always free to restrict your own access yourself.