Block Internet per User/Service

If you like to block network access for certain users on a linux box it’s as simple as that:

/sbin/iptables -I OUTPUT -m owner --uid-ower <USERNAME> -j DROP

Username might also be the username of a running service.