A long-range attack on a joint UK-US military base in the Indian Ocean has fuelled concern over the potential threat posed to Britain itself.