Intelligence, like any other aspect of national security, has to be under civilian control.
There is only one law of espionage—there are always going to be spies.