Sounds a bit like Sandboxie - www.sandboxie.com