To be fair to the school shown in that particular documentary, they weren't looking at the students through a webcam. It looks like they're using a remote desktop program to look at the students desktop. He explained that many students use the webcam program as a mirror to look at themselves or just mess around.