To block network access: firejail, unshare, or ip-nets jail if you like to get your hands dirty.
To limit bandwidth you can use trickle, wondershaper or again use ip tools.
If you don't mind some work SELinux can do this and so does AppArmor which is probably already included in your distro.