Restricting upload

Hey folk! Sorry if this has already been asked. I’m investigating using ipfs as a update cdn for our OS. One thing I know users will request is the ability to restrict upload, either entirely or to local lans only, but still be able to download. I’ve been looking into swarm filters, but before I dig deeper wanted to know if there is a better way to do this.

Thanks!

There is no built-in way of stopping IPFS to make outbound transfers as of now ( there is a issue open about resource constraints/limits here: https://github.com/ipfs/go-ipfs/issues/1482 )

However, you could probably get something to work with iptables/apparmor, but my knowledge of those is not good enough to give you an example, maybe someone else can help.