Why don't you want Flash installed? Internet Explorer and Firefox both have settings to stop them. Internet Explorer has security settings that prevent ActiveX and such from installing without being asked, and Firefox has it, though it's probably in "about:config."