“There are still different ways to get that information,” he said. “What they can’t do is to ask for that password and go off and use that password on their own,” he said.

Brian Schwartz of the Illinois Association of Principals said the measure appears well balanced.

“We think it’s a much better bill and a much better law and will allow building-level administrators to investigate violations of school district policy but still allow (for) and protect kids privacy,” he said.