Comment by oblio
It might have been Sandboxie. I don't remember where I got the dog reference (not god, typo in the original post), but it seems to have been a classic Windows MFC app, and it does date back to 2004, so it would fit the timeframe. I don't remember using it much, I guess configuration was cumbersome, as it generally is for these kinds of per-app/per-permission manual configuration tools.
did you use the one 15+ years ago? what else can you tell about it?
sandboxie is quite old yes; and `dog` vs `god` LOL; did you drop your question in to an LLM? copilot gave me (re dog) winpatrol - though i dont think it has task any application based api stuff https://www.bleepingcomputer.com/download/winpatrol/
there was also things like vmwares thinstall which would wrap up an exe's installation process to make a more or less portable application (edit was here)
there were apps like InstallSheild's system monitoring software which could really monitor a systems changes before and after and build installations of files/registries changed
then there stuff like Deep Freeze which made windows more or less immutable (to a degree) where a reboot would "restore" the system - useful in schools ect