A large number of people potentially had access to the Pentagon intelligence documents posted on social media.