As already pointed out, you can block Flash Shared objects, much like cookies. But yeah, spyware seems to install itself fairly easy, of course you can have some very strict settings on your browser....