How does the myth of espionage compare with the real life work of the security services? Peter Taylor investigates how far today's spies can go to prevent attacks.