A secondary school is facing harsh criticism after installing CCTV in the student toilets.