I know I can disable background data in data settings, but is there a way to do it also for foreground data? I don't want some apps to have any connection with the net but also don't want to disable data completely on the phone.
If you are rooted you can use one of the various firewall applications, like this one https://market.android.com/details?id=com.googlecode.droidwall.free .
Without being rooted, I would think the only option is to disable data completely. I could be wrong on this though.